sub domain

Posted on 2004-07-29
Medium Priority
Last Modified: 2010-04-13
Morning EE Community

I'm new to web design and would appreciated any help with the following.

How do I create a sub-domain in windows 2000 for my website.
i.e http://www.secure-mydomain.com if my domain is called http://www.mydomain.com

Thanks you in advance
Question by:BeginningWebDesign

Expert Comment

ID: 11676134
If your domain name is domain.com, the only authority you have is from *.domain.com.  You can't add a "-" to a domain name and expect it to resolve on the internet; that would require a whole new domain registration.

In short:

www.mydomain.com -> OK
www.abc.mydomain.com -> OK
www.intranet.mydomani.com -> OK

www.secure-mydomain.com -> Will need to register for new domain.

Accepted Solution

peppm earned 2000 total points
ID: 11676583
Just like in dgroscost's post, you need to create a sub-domain as opposed to a new domain name.  If you use www.secure.mydomain.com or just secure.mydomain.com you need to have it registered with DNS (your own or by your ISP).  If you own mydomain.com, then you can create any sub-domain of it.  

Win2k allows you to specifiy a "host-header" in the IIS properties.  Even though you point the original domain and the sub-domain to the same IP address, IIS will recognize the "name" as opposed to the IP address and direct the user to a separate directory.  

Use Web Site Creation Wizard and in the Host Header for this site, type the sub-domain name.  All requests for the subdomain will go to the new web site.  Click OK and the select a new path.  I usually create a wwwroot1 on the same level as wwwroot.  Select the new directory.  That is pretty much it.  Create your second site.

Author Comment

ID: 11681786
Thank you peppm and dgroscost


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
Though there are a few manual ways to import PST files to Office 365 , third-party PST to Office 365 import tools are preferred over them due to various reasons.  Consequently, many tools or services are available for the same. Here, we pick the to…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

621 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