Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up my server (running Ubuntu server 8.04) on my university network so that I can access it from anywhere on campus. Last year I had it plugged into my router and set my router's domain like and hostname to dlh. This allowed me to access the router using, and I just used port-forwarding to access the server.

Now I'm just plugging the server in sans router and I'm trying to emulate the same setup. I have Avahi installed and I've tried setting my /etc/hostname to both dlh and It doesn't seem to be working though when I try to ping from another computer.

Honestly though, I don't understand the whole domain/hostname thing very well and I'm not sure how this is done properly.

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 17:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Talk to your helpdesk, or if you're lucky, to someone in the networking or sysadmin group. They could tell you if DHCP was available, and if not, they could give you whatever other particulars you'd need. – belacqua Mar 31 '11 at 3:27

The school will have a fully resolved domain name of the nature “” and machines on that network will be resolved by the school DNS Server to be “”. This DNS Server will also, probably in cooperation with a DCHP server, allocate the machine an IP address.

For your machine to take part in this the school IT support department needs to make changes to there servers. If they cooperate and depending upon the setup they use your machine might become available on the local network and possibly on the internet with a fully resolved name.

Alternately, as you already had the machine set up at home you could leave it there and access it via the internet.

Or again, if you are willing to work with IP addresses you might get away with a standard DCHP configured machine on the local network and simply connect to the IP address.

Use ifconfig on the server to find its IP address then from another machine try pinging that address or connecting to a service on that machine.

share|improve this answer

I would contact the network administrator of your school. Maybe they have changed some setup to provide additional security.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.