1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

subdomain issue

Discussion in 'Plesk for Linux - 8.x and Older' started by DoobyWho, Jul 24, 2005.

  1. DoobyWho

    DoobyWho Guest

    0
     
    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?
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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.
     
  3. DoobyWho

    DoobyWho Guest

    0
     
    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
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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.
     
  5. DoobyWho

    DoobyWho Guest

    0
     
    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?
     
  6. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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.
     
  7. DoobyWho

    DoobyWho Guest

    0
     
    Neither have it.
     
  8. DoobyWho

    DoobyWho Guest

    0
     
    I just rebooted the whole box and it works now.

    My box has a ghost - seriously...
     
  9. jamesyeeoc

    jamesyeeoc Guest

    0
     
    That would have been my next suggestion... :D
     
  10. Cranky

    Cranky Guest

    0
     
    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.
     
Loading...