I have a VPS (Windows Server 2008) with IIS 7.0 installed. I have a domain from godaddy.com
I created a website (outside Default site). Now I want to point
test.mydomain.com to this IIS website. These are the steps I followed:
- In IIS 7, for this site, under Bindings -> Host, I put in the subdomain
test.mydomain.com as shown in the figure:
- In GoDaddy, I went to Forward Subdomains and set it up as shown
Now in the browser, if i open up test.mydomain.com - I do see my website. However, when I click on any links, I expect to see
test.mydomain.com/Test.aspx (with the page name) which I don't because it's masked. If I don't mask it, then I see the IP address in the URL.
Also, when I do mask it, when I hover on the links, I would see the links similar to
How do I set up a domain correctly?