Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Subdomains

Posted on 2004-04-04
5
Medium Priority
?
382 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 150 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

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…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

721 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