• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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