Skip to main content

Internal Server Error on subdomains

Comments

4 comments

  • Eminds
    is it a wordpress website ? , check the .htaccess file .
    0
  • ronaldst
    No these sub domains does not contain Wordpress sites. One subdomain has a simple HTML only site, and the other subdomain is empty. I tried to make a new subdomain for testing and it gives the Internal Server Error straight away. You are onto something though, there is something odd with the .htaccess. The subdomains (giving the error) have none, but the main domain/site does. It runs a url shortening service. I've managed to sort it out by making a .htaccess file in my subdomain directory.
    0
  • 24x7server
    Hi, Check the .htaccess file outside the public_html directory also if it is present, what is the content in it. Also, for testing, please add in the below code in the .htaccess and see what it gives to you. RewriteCond %{ENV:REDIRECT_STATUS} 200
    0
  • cPanelMichael
    I've managed to sort it out by making a .htaccess file in my subdomain directory.

    Hello, That's typically the best way to address the issue, as it ensures the subdomain uses the .htaccess file in it's own document root. Thank you.
    0

Please sign in to leave a comment.