• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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