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 February 19th, 2004, 12:31 PM
trininox trininox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 42 trininox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to trininox Send a message via AIM to trininox
Question Subdomains

I'm trying to setup subdomains for the domain www.chsweb.tk
I have CNAME records setup for 3 subdomains, 1 being tgd.
like this

tgd IN CNAME chsweb.tk.

Then in apache i have virtual host records for each domain/subdomain like this

<VirtualHost *>
ServerAdmin admin@gto.dynu.com
DocumentRoot D:/apache2/htdocs/chsweb
ServerName www.chsweb.tk
ServerAlias www.chsweb.tk chsweb.tk
</VirtualHost>
<VirtualHost *>
ServerAdmin admin@gto.dynu.com
DocumentRoot D:/apache2/htdocs/chsweb/tgd
ServerName www.tgd.chsweb.tk
ServerAlias www.tgd.chsweb.tk tgd.chsweb.tk
</VirtualHost>

The address http://tgd.chsweb.tk still shows http://www.chsweb.tk I'm wonder if this is setup right or perhaps i just need to wait for DNS information to expire and get updated with these new records.
__________________
-Trininox
http://gto.dynu.com

Reply With Quote
  #2  
Old February 19th, 2004, 02:39 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
If there's not specific reason for using a CNAME record, use an A record for tgd.chsweb.tk and www.tgd.chsweb.tk - you'll save users an extra dns query and save headaches trying to work out why your config's not working.

Reply With Quote
  #3  
Old February 19th, 2004, 05:47 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,193 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 14 h 35 m 27 sec
Reputation Power: 77
Your DNS configuration didn't need to be changed at all. The *.chsweb.tk record already points all subdomains and yes, even subdomains like "my.very.good.friend.chsweb.tk" to the same IP address.

So delete your CNAME records. Your DNS is fine. It's a problem with your apache virtual hosts. Are those all the virtual hosts you have configured? There may be a wildcard virtual host alias which is keeping your other subdomains from working.
__________________
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 > Subdomains


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