Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VPS (Windows Server 2008) with IIS 7.0 installed. I have a domain from

I created a website (outside Default site). Now I want to point to this IIS website. These are the steps I followed:

  1. In IIS 7, for this site, under Bindings -> Host, I put in the subdomain as shown in the figure:

alt text

  1. In GoDaddy, I went to Forward Subdomains and set it up as shown

alt text

Now in the browser, if i open up - I do see my website. However, when I click on any links, I expect to see (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?

share|improve this question
up vote 1 down vote accepted

I'm not familar with GoDaddy, but what it looks like it's doing is creating a frame and the frame destination is set to whatever you enter under "Forward this domain to".

What you need to do is to get GoDaddy to do is to create what's called an A record for your domain name's DNS, and point that A record to your IP address.

I'm guessing that "Forwarding and Masking" is not where you want to be, and you're probably looking for something like DNS Records.

share|improve this answer
Nice, that seems to work. What is a TTL? It defaults to 1 hour. Also, I still haven't setup a domain yet. So, do i do the the same way by adding an A record? – user25164 Feb 3 '10 at 3:09
TTL is "Time to Live", which isn't really important right now, and 1 hour is fine. The WWW can be a CNAME, becuase it will (usually) always point to the main domain. By making it a CNAME if you ever change the main domain record, www will follow. But an A record will also work just fine as well. – Mark Henderson Feb 3 '10 at 3:37

I believe the problem is in how DNS is configured...

What you want to do is to set up an additional 'host record' (also called an 'A record') in DNS which points to the IP address of your VPS (rather than a 'forwarded subdomain').

The host configuration you have already performed in IIS7 will use the host name you provided (e.g. to match the request to the proper web application.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.