Solved

Subdomains

Posted on 2004-04-04
5
381 Views
Last Modified: 2010-04-13
I'm running one windows 2000 machine for my webserver.  My setup looks like this: Internet to router - router forward port 80 & 21 to 192.168.0.4 (windows 2000 server).  I want to be able to host subdomains.  I'm going to buy my domain and have it point to my router's ip. How can i setup subdomains to run on my single machine???
0
Comment
Question by:bamnet11
[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
  • 2
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
ryangclear earned 50 total points
ID: 10754002
use host headers. I'm assuming your talking about subdomain websites right?
like

subdomain.yourdomain.com
subdomain2.yourdomain.com

you'll also have to add A records to your dns server to point to your router

yourdomain.com                         -    points to your router
subdomain.yourdomain.com       -    points to your router
subdomain2.yourdomain.com     -    points to your router

the hostheaders will direct the webclient to the right website
0
 

Author Comment

by:bamnet11
ID: 10754071
so i'd make a host header that that subsite.domain.net ?
0
 

Author Comment

by:bamnet11
ID: 10754072
^^ that said...
0
 
LVL 2

Expert Comment

by:ryangclear
ID: 10754073
thats right
0
 
LVL 2

Expert Comment

by:ElForesto
ID: 10761059
Any HTTP 1.1 compliant web server software should handle subdomains properly. If all of your subdomains are going to be on the same system, then the record for *.domain.com should point all miscelaneous undefined subdomains to your IP address. HTTP 1.1 has been around forever, so every major web server software supports it. (IIS, Apache, etc.)
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

615 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