Solved

How do I setup subdomain.mydomain.com?

Posted on 2000-02-26
6
211 Views
Last Modified: 2013-12-28
Does anybody know how I can setup my IIS(or whatever) so that I can point abc.mydomain.com to one folder while xyz.mydomain.com to another folder?

What I am asking is how do I setup the subdomain in IIS.(I have only one IP)
0
Comment
Question by:juiting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Expert Comment

by:j2
ID: 2562599
Unless you controll the DNS for your domain, you can't do this without aid from your ISP. Do you have control of your DNS?
0
 
LVL 1

Expert Comment

by:jmatwyko
ID: 2563936
Having multilple entries (abc.xyz.com,cba.xyz.com,blah.xyz.com)all pointing to the same IP is very normal in dns zone files. Your ISP can do this entry easily.  I think you need to set up the web server to use host header detection to direct the browser to the correct site.  

1. create your 1st web site using mmc for iis.  assign it the correct IP address, I assume that you have done this already.
2. create your 2nd site just like the first, assigning it the same address.  In the same properties page (web site tab) click on the advanced button.
3. highlight the listed address, it will be the same as the 1st website.  choose edit and use the FQDN of your 2nd site as the host header.  This lets IIS know which site to pull up.  You don't have to change port # or anything else.

Check temp.newphase.com and www.newphase.com
as they are both on the same IP running under IIS using the host header to determine which site to pull up.

BTW, it took longer to type this out than enter a new address record for the name server and create the new site.

good luck.
0
 

Expert Comment

by:AGB
ID: 2563947
Please, read carefully IIS documentation (if you have IIS 4.0 or later) about virtual servers assigned to one IP
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Accepted Solution

by:
klover earned 100 total points
ID: 2564695
I believe the feature you are talking about is called HTTP Headers - not subdomain.  You want to have two web sites, sitea.mycompany.com and siteb.mycompany.com right?

If so...
Create two sites by right clicking on the server from the Internet Service Manager.  Then choose New > Web Site.  Follow defaults.  Set both sites to use the same IP, same port (80) but different home directories.

Right click on the root of your first website in the Internet Service Manager, then go to properties.  Under the WebSite Tab click Advanced. Now click Add.  Set port to 80.  Give your site a name (sitea).

Now do the same for the second site, but under Host Header Name, put siteb.

Right click on each site and then click start!!!  You now have two sites running on the same IP and known port!!!
0
 
LVL 12

Expert Comment

by:j2
ID: 2566144
klover: So? Unless he also has a dns entry pointing to the domain it wont resolve and will not work. Your answer only convers how to set the iis up. not the DNS which is also required.
0
 
LVL 3

Expert Comment

by:klover
ID: 2566190
j2

A. He did not ask about DNS, he asked about IIS.

B. Maybe it's a local, private site?  I don't know because he did not say.  

C. Apparently DNS was not his problem...

D. jmatwyko had DNS covered...

E. Sorry to jmatwyko for posting the same answer.  I only read the first part of your answer concerning DNS.  I owe you one...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

752 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