How do you name a server?
Hello friends, here at work we set up a LAMP server for our Intranet. For now we can access it by typing the IP address, but we wanted to just type "intranet" or something else instead of the IP. I've looking to this answer in the apache website, but I'm a newbie in Apache so I have not figure it out yet. Thanks for your help..
|
What you actually have to do is add a name and the corresponding IP address to a DNS server on your network. This will map the name to an IP. I don't know how big your company is, but our company automatically adds your machine hostname to the DNS server list when you register it on the network.
|
Quote:
Code:
127.0.0.1 localhost.localdomain localhost intranet Code:
192.168.0.100 intranet |
You will also need to set the following in your httpd.conf:
Code:
ServerName intranet.mycompany.com |
Ok, HappyTux I followed your steps, but I got another page when I typed "intranet" in my browser I get from Novell(which is what this organization uses) saying:
STARGATE NetWare Management Portal And is asking me for a login name. Can I set this to any other name. I need to make this easy for the users here at work. We are about 25-30 users. Thanks |
Quote:
|
Yes I have control over the server and it is not running Netware. Yes, we want our users just to type "intranet" or http://intranet and be able to view the default page. This webserver is NOT on the Novell machine. I was doing the steps you told me but I still DON'T get when I type "hostname" intranet and get the name I previously had.
Thanks |
Quote:
|
All times are GMT -5. The time now is 12:20 PM. |