SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict revlimiter's Avatar
    Join Date
    Sep 2005
    Location
    British Columbia, Canada
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding New Subdomain Takes A While?

    Hey everyone,
    I am hosted with HostGator shared and am trying to add a subdomain to my account. I create the subdomain in cPanel and go to my http://subdomain.website.com URL, however it says "Server not found" from my browser. When I view it from my iPhone (connected to WiFi) it shows the site fine. I have tried clearing my desktop's browser cache, tried a different desktop browser, as well as tried a DNS flush in OSX Mountain Lion..

    Terminal: dscacheutil -flushcache

    And none of these seem to resolve the problem. I am still faced with the "Server not found" message from the browser.
    Any idea what is happening here and how it can be resolved? Odd that the WiFi will work for my phone (same IP from the ISP I would think?) but it won't work from my ethernet connection on the desktop?

    It has been an issue that has been bugging me for a while.
    Thanks very much!
    "To make an apple pie from scratch,
    you must first create the universe.
    -Carl Sagan

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,644
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    rev,

    I've never experienced ANY delay in the access to a subdomain (created via cPanel) so I'm at a loss. Your browser shouldn't have to clear cache for a first-time connection to any host but your wifi has access? That would suggest that your subdomain's subdirectory contains an .htaccess which is prohibiting access (unless via cellphone) but that would not account for the "Server not found" response.

    Troubleshooting, I'd first check the configuration of the subdomain's creation, it's pointer (DocumentRoot is normally a subdomain-named subdirectory of the main domain) and any configuration within the .htaccess of the subdomain. If that's not the problem, then a ticket to HostGator seems to be in order.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,092
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    What happens if you try a different browser on your machine?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  4. #4
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    What happens if you run a PING or NSLOOKUP (in your command line). Do you get a response when using the ping? If not, try
    Code:
    nslookup subdomain.domain.com
    . If you don't get a result then it is quite possible that you have a hosts file on your computer that is getting in the way.

    The other-thing is your desktop connected to a firewall that caches? This could also be Squid. If a firewall caches a low-level domain then when your browser searches for the domain the firewall might answer "I found the main domain, so serve back that the sub-domain is not here", this would not query an outside DNS so it would fail there. Normally the browser will give you some feedback as to no connection or the server answered but the requested resource does not exist. Pay close attention to the message you get on your browser if it tells you what server answered this.

    Steve
    ictus==""


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •