Change the host name

Here is the setup:  Two servers.  Both 2003 using IIS 6.0.  One server is the www.mysite.com (192.168.1.13) server and the DNS server.  Server two is (needs to be) admin.mysite.com (192.168.1.39).  Both servers have internet access and I have added an A record to the DNS server to point all internal traffic asking for admin.mysite.com to the 192.168.100.39 server.

The admin.mysite.com server has several other sits on it currently.  I can only get to them by using http://192.168.100.39/{site name}.  I would like to fix that but it is secondary.

How do I change the hostname in IIS to respond to admin.mysite.com?  Are there DNS issues I will have to address?  I know I created an A record for the internal address, do I do the same for the external address?


Thanks!
LVL 1
HelixxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

The Hostname is within IIS is the Host Header setting.

To change it open up IIS Admin, then the Properties for the Website you want to set it on. Under the General Tab you should see "Web Site Identification". Press the Advanced Button and assign the IP Address you want it to respond on, then the Host Header Name should be the Name you want it to respond to (i.e. admin.mysite.com).

If you want this available externally then you will need to do the same for the external address depending on your setup.

The same method is used to deal with "http://192.168.100.39/{site name}".

HTH

Chris
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.