• Resolved pbseo

    (@pbseo)


    Hello

    So I just set up a network on one of our blogs and also created a few sites as sub-domains.

    However, when I open those sub-domains, they redirect to /404.html

    The requested URL was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I am using hostgator shared hosting for this and have already created a wildcard record in the DNS manager

    Kindly advise on what might be going wrong here

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    The DNS wildcard may exist but is your web server configured to accept those domain names? It sounds like your web server is sending those sub-domains to the wrong virtual host.

    Thread Starter pbseo

    (@pbseo)

    Thanks for your response Jan. How do I check it?

    What do I say to my host?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’d show them this topic here. ??

    On my Apache2 config for my multisite installation I have something like this in my config file to handle the wildcard in my VirtualHost config.

    ServerName blog.mysite.com
            ServerAlias *.blog.mysite.com

    The ServerAlias tells my web server to handle all requests for *.blog.mysite.com. Without that there (it’s happened to me) the default VirtualHost will get those requests and generate a 404 error.

    Hostgator may have a web GUI for setting that up without editing any files. Show them this topic and they maybe able to help you configure your web server to handle those URL requests.

    Thread Starter pbseo

    (@pbseo)

    Okay – they are dumb. They kept insisting me that I should create actual sub-domains from the control panel and only then it would work

    So I guess at this point, I am left all by myself to solve this with the help of you guys ??

    Thread Starter pbseo

    (@pbseo)

    I just checked with a random sub-domain – acme.domain.com and it is resolving to the correct IP address

    Could it be a DNS propagation issue? I had set up WP multisite earlier on our dedicated server and it worked fine

    Thread Starter pbseo

    (@pbseo)

    Okay the subdomains are up and running now.

    Seemed like it was a DNS propagation issue

    Thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘sub-domain multisites return a 404 error’ is closed to new replies.