Solved

Subdomains

Posted on 2004-04-04
5
375 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
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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