Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 network.myschool.edu and hostname to dlh. This allowed me to access the router using dlh.network.myschool.edu, 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 dlh.network.myschool.edu. 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
add comment

2 Answers 2

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

share|improve this answer
add comment

The school will have a fully resolved domain name of the nature “school.edu” and machines on that network will be resolved by the school DNS Server to be “server.school.edu”. 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
add comment

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