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 July 28th, 2004, 01:42 PM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Virtual Hosts working, Subdomains not

So I've look all around here and can't find out what I'm doing wrong. I was using Plesk admin to add Virtual Hosts for other domains and that worked just fine but when I tried to add the subdomain media.gotee.com all I get is an "error, could not find server" message. I can't figure out what the problem is, even after looking at the httpd.conf and BIND files. Here they are:

BIND:

$TTL 86400

@ IN SOA ns.gotee.com. greg.gotee.com. (
1090425559 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum

gotee.com. IN NS ns.gotee.com.
gotee.com. IN NS ns2.gotee.com.
ns.gotee.com. IN A 64.207.133.130
gotee.com. IN A 64.207.133.130
webmail.gotee.com. IN A 64.207.133.130
mail.gotee.com. IN A 64.207.133.130
media.gotee.com. IN A 64.207.133.130
ftp.gotee.com. IN CNAME gotee.com.
www.gotee.com. IN CNAME gotee.com.
gotee.com. IN MX 10 mail.gotee.com.

And here is the entry in httpd.conf:

<VirtualHost 64.207.133.130:80>
ServerName media.gotee.com:80
SuexecUserGroup media psacln
DocumentRoot /home/httpd/vhosts/gotee.com/subdomains/media/httpdocs
CustomLog /home/httpd/vhosts/gotee.com/statistics/logs/access_log combined
ErrorLog /home/httpd/vhosts/gotee.com/statistics/logs/error_log
ScriptAlias /cgi-bin/ /home/httpd/vhosts/gotee.com/subdomains/media/cgi-bin/
Alias /webstat /home/httpd/vhosts/gotee.com/statistics/webstat/
Alias /ftpstat /home/httpd/vhosts/gotee.com/statistics/ftpstat/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /home/httpd/vhosts/gotee.com/subdomains/media/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/gotee.com/subdomains/media/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
Alias "/error_docs" "/home/httpd/vhosts/gotee.com/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
</VirtualHost>

Any ideas as to what I'm doing wrong? Like I said, my virtual hosts for other domains (not subdomains) are working fine.

Thanks,
Greg

Reply With Quote
  #2  
Old July 28th, 2004, 02:08 PM
faulkner faulkner is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 103 faulkner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
It's hard to do much without the proper IP's and domains. It's not like they aren't already public on the internet anyway.

Can you ping media.domain.com ? Does it resolve correctly internally and externally?
If so, it's not a dns problem.

Reply With Quote
  #3  
Old July 28th, 2004, 03:34 PM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
full info

yeah, sorry about that. I edited my above post to show the full info. I know just enough about servers at this point to be paranoid but not enough to feel safe if you know what I mean.

--Greg

Reply With Quote
  #4  
Old July 28th, 2004, 10:53 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,195 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 15 h 53 m 4 sec
Reputation Power: 77
This domain is seriously problematic. Check out your dns servers:

dig @a.gtld-servers.net gotee.com

Now click on each purple link to query each dns server that is listed as a host of your domain. Notice that 2 of them return non-authoritative (not a host) responses, and the last one returns an IP address.

However querying that same server for media.gotee.com returns a "not found" error:

dig @ns1.emicmg.com media.gotee.com

Perhaps you have not reloaded the zone file?
__________________
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
  #5  
Old July 29th, 2004, 11:13 AM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
figured it out

ha, sorry, I just realized what was wrong. After I checked out that zone page I realized that the dns for the that, and only that domain, on our system is run by corporate and all the attempts to change it on my end were having absolutely no effect. Thanks for the help!

--Greg

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Virtual Hosts working, Subdomains not


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 3 hosted by Hostway
Stay green...Green IT