DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 12th, 2005, 01:48 PM
jtelep jtelep is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 26 jtelep User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 59 sec
Reputation Power: 0
Really dumb questions but I don't know the technical terms...

I would like to set up additional sites on my server but I'm not really sure how to go about doing this. I know that there is something called virtual hosting which I would like to know how to do sometime in the near future and also something else called nested domains (someplace.somedomain.anotherdomain.com) but, again, that's not what I need right now. I would like to know how or at least what it's called when you want to point your DNS server to a different site within the same domain, like this:

Instead of www.somedomain.com it would be mail.somedomain.com (a link to a wer-based mail server running on the same domain) or docs.somedomain.com (documentation for a project you're working on). This way I wouldn't need links off my main page, I could just enter the prefix to the domain and it would take me there immediately. Would this be DNS configuration or just making some changes in the web server?

Any info would be greatly appreciated. Thanks!

Reply With Quote
  #2  
Old January 12th, 2005, 02:16 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,197 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 17 h 20 m 57 sec
Reputation Power: 92
Well it's partly dns and partly webserver related. You got to make sure those custom subdomains (docs and mail etc) point to your webserver's IP address. Then you need to configure the webserver to access a directory in the main website directory to retrieve the documents. Something like this:

www.domain.com => /var/www/domain.com
www.domain.com/docs => /var/www/domain.com/docs
docs.domain.com => /var/www/domain.com/docs

As you can see, the same directory is accessed by 2 different URLs. In apache multiple websites on one server is called "virtual hosts". In IIS, you would go for multiple websites via "Host Headers".
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Really dumb questions but I don't know the technical terms...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT