• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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