Setting up a Sub Domain

Posted on 2001-06-04
Medium Priority
Last Modified: 2010-04-13
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

Question by:NJordan72
LVL 12

Expert Comment

ID: 6154758
-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.

Accepted Solution

pinzinfr earned 200 total points
ID: 6159768
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.
LVL 56

Expert Comment

ID: 6159909
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.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
AngularJS web development a very simple procedure. So, to put it, in short, AngularJS’ stand out features are – Two-way data binding, MVC structure, directives, templates, dependency injections and testing.
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question