March 17th, 2011, 01:03 PM
IIS6 mulitple ips
I have multiple websites running on IIS6/Server2003 with three ip addresses on the nic - the parent and default website as well as some development sites using host headers, another child, and a potential new child website. In dns, I have the main server A record. I have another ip for our intranet and an A record in dns for that one also. It's working fine.
But, when I try to add one more, it won't work. The development asp.net site is fine using the default ip and host headers. I added an A record for the new website. When I ping the website's ip, it resolves fine. When I ping the website name, it resolves to the website's ip. When I do an nslookup, it resolves through the correct dns server to the dns name/ip of the website.
On the web server, the child website comes up fine. But on the dns server, I get the generic Internet Explorer cannot display the webpage, Most likely causes: •You are not connected to the Internet. •The website is encountering problems. •There might be a typing error in the address.
I changed the dns setting from an A record to a alias CNAME record. A ping of the child website's ip address (e.g. 184.108.40.206) resolves perfectly. a ping of the child website's name resolves to the parent server (220.127.116.11), which has the child and parent on the nic card. nsLookup resolves to the parent server ip (18.104.22.168) Since I have the ip on the nic, the ip in the IIS6 setup with a host header name, this would make sense.
Now, however, I get the root web on every browser I try. The IIS properties clearly point to a different physical folder. Just in case it was some kink in the compile. I removed all files and put a generic default.htm in the folder saying "hello". I rebooted the server and it still goes to the root web. I told it to log, but no files are created in the IIS log and no files are in the Application event log on the server.
March 17th, 2011, 06:53 PM
Are both sites being hosted on the same server (sorry if I missed that part)?
If so, your child site shouldn't be resolving to a different IP than the IP of the server (I wouldn't think) hosting it. Couldn't you adjust the host header values to have multiple sites on the same IP; and on port 80?
Check out the following article , it may help you.
March 17th, 2011, 09:09 PM
I would use the same ip, but I need to apply an ssl certificate which requires it's own ip. I've got another website on the same server doing the same thing and I haven't found a difference between them. I'm stumped.
March 17th, 2011, 11:01 PM
You did say you verified dns queries to your child site were resolving to the proper IP correct?
March 18th, 2011, 03:24 PM
I wound up fixing it by stopping the http services and then manually editing the registry keys for ListenOnlyList and then restarting the services. Everything works fine now. Sheessh!
March 18th, 2011, 09:17 PM
Out of curiosity what were the values the reg key(s) was set to, and what did you have to adjust?
March 21st, 2011, 09:57 AM
Basically, it listed the two ips that were working, but didn't have the third that was specifically shown in the gui for the network card and iis. I simply added the ip that I wanted for the new website.