• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

subdomain issue

D

DoobyWho

Guest
i was messing around with subdomains and created http://secure.mydomain.com and then deleted it. However, it doesnt really appear to be deleted... whenever I go to it, it still comes up. ive tried restarting apache and DNS and still comes up. how can I make it so it doesnt come up?
 
Looks like you have a wildcard entry in DNS for that domain. Look for a *.domain.com entry in the DNS settings. If this is present, then any non-existant subdomain name will still be redirected to the domain's home page.

Such as browsing to zyx.domain.com or asdf.domain.com will still go to the main homepage.
 
Nope - I removed the wildcard. If I go to any other subdomain it doesn't work. However, if I go to secure.mydomain.com it works...

Grr
 
1) Clear your browser's cache.

2) Check the contents of:

/home/httpd/vhosts/domain.com/conf/vhost.conf
/home/httpd/vhosts/domain.com/conf/httpd.include

for any signs of the subdomain name.
 
Tried clearing the cache, even tried different computer and browser - didn't work

vhosts.conf doesn't exist and the httpd.include is clear of the subdomain.

I also tried creating the subdomain as a domain itself and deleted that, what should i check for remains of that?
 
Check the /var/named/run-root/var/domain.com file, this is the DNS zone file, do not manually edit/change, just look at it and see if it still contains either a wildcard '*' entry or the subdomain name.

Also check the contents (again do not edit/change) of /var/named/run-root/etc/named.conf

Let me know what you find.
 
I just rebooted the whole box and it works now.

My box has a ghost - seriously...
 
It sounds like your apache isn't really restarting when it tells you it is. You might want to try restarting it and check /var/log/httpd/error_log to see if it actually does restart.
 
Back
Top