kuzum
asked on
IIS host headers
Hi,
I'm new to IIS an please forgive me for an easy question.
I have test server and hosting few sites on it. I need to allow two client machines to access my new test site on the server.
test site is accessbile by site's IP address and port number specified. ( 10.x.x.x:2040)
I need to allow this site to be accessed by a friendly name ( which in that case I though host header would be good idea) So added a Hostname in the IIS from site bindings and called it testsite with the same IP and port number
my question is regading host file entry. do I need to add this new entry to server's host file? or need to add it to client machines' host file?
Please advise How I can ensure that my test site is accessbile by two client machines using the host name in IIs.
thanks
I'm new to IIS an please forgive me for an easy question.
I have test server and hosting few sites on it. I need to allow two client machines to access my new test site on the server.
test site is accessbile by site's IP address and port number specified. ( 10.x.x.x:2040)
I need to allow this site to be accessed by a friendly name ( which in that case I though host header would be good idea) So added a Hostname in the IIS from site bindings and called it testsite with the same IP and port number
my question is regading host file entry. do I need to add this new entry to server's host file? or need to add it to client machines' host file?
Please advise How I can ensure that my test site is accessbile by two client machines using the host name in IIs.
thanks
ASKER
site is only accessbile on the local server when I do "browse 10.x.x.x:2040" This is the IP for the local server and this IP has a A record in DNS for the server
can you please let me know exactly what host entry im adding in my host file on the client machines?
can you please let me know exactly what host entry im adding in my host file on the client machines?
ASKER
do I also change anyhing on the server host files? thanks
ASKER
sorry for all the questions in separete windows. Do I also have to have "www" in my host header or can I simple call it "test"
im using windows 2012 server as my IIS server. thanks
im using windows 2012 server as my IIS server. thanks
ASKER
Hi,
DO you need more information or am I confusining anyone?
DO you need more information or am I confusining anyone?
ASKER
here is what I did so far
on the server added below header name test.mydomain.com and IP is set to 10.x.x.22 port: 2040
on my laptop added below host entry: 10.x.x.22 test.mydomain.com
I can ping from my laptop to "test.mydomain,com" and I can get reply back from site ip which is my server's IP.
on the lIS server I clickedon "browse test.mydomain:2040 (http)" but it comes up as this page cannot be displayed
Only think I did not is IIS restart which I will do in few hours time. Can you please confirm where I'm going wrong ?>
on the server added below header name test.mydomain.com and IP is set to 10.x.x.22 port: 2040
on my laptop added below host entry: 10.x.x.22 test.mydomain.com
I can ping from my laptop to "test.mydomain,com" and I can get reply back from site ip which is my server's IP.
on the lIS server I clickedon "browse test.mydomain:2040 (http)" but it comes up as this page cannot be displayed
Only think I did not is IIS restart which I will do in few hours time. Can you please confirm where I'm going wrong ?>
ASKER
I need to sort this out asap. Can any one avaiable to answer this post please? much appriciated
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To make sure your site is working browse the site from IIS from server
Right click Default website-->Manage website-->Browse