Setting up a Sub Domain

I own a domain somedomain.com and would like to set it up that if a user goes to blah.somedomain.com the server points them to a particular directory within the current website (for instance www.somedomain.com/blah)  Do I do this by setting up DNS files? or is there another way?  Can someone give me an example?  thanks

NJordan72Asked:
Who is Participating?
 
pinzinfrConnect With a Mentor Commented:
Has domain.somedomain.com already been configured to direct requests to the appropriate server? If not, you'll have to do this first (either yourself, your ISP or DNS hosting company).   Open IIS, right click on the web service and create a new web site.  Is the IP address used for domain.somedomain.com the same IP used for somedomain.com or another domain name?  If so, you'll have to configure IIS appropriatly.  Click on the properties of your web site, select the 'web site' tab and click 'Advanced'.  You'll now see grid of IP / Port / Host Name.  Edit the entry in this grid and add the domain name that matches the IP address (this allows multiple domain names to use the same IP address and leaves the rest up to IIS).

I hope this helps.
0
 
HousenetCommented:
-All you have to do is create a website for blah... & in IIS within administrative tools right click the default website & choose to create a virtual directory... There are no dns changes necissary...
-When you call the site blah & point to the correct folder & start page, when users go to www.somedomain.com/blah they will be resirected to that specific site.
0
 
andyalderCommented:
When you talk to the ISP or whoever sets up the DNS make sure they create an A record or a CNAME. NOT a subdomain.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.