|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Virtual Hosts working, Subdomains not |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|