Ian Daniels

Well-Known Member
Nov 3, 2016
69
1
8
Manchester
cPanel Access Level
Root Administrator
Hi,

I have restored a account from a backup, and before the site goes live I have tried to test my site by amending the local host file to recognise the fqdn

I tried to navigate to the test site and I am getting error

HTTP Error 500

I have checked the logs and nothing is appearing

Can someone help?
 

Ian Daniels

Well-Known Member
Nov 3, 2016
69
1
8
Manchester
cPanel Access Level
Root Administrator
Shouldn't the IP's be changed to where they are pointing after a full restore?

Also where are the apache logs located

I get this error

*******.com is currently unable to handle this request.

HTTP ERROR 500
 
Last edited by a moderator:

Ian Daniels

Well-Known Member
Nov 3, 2016
69
1
8
Manchester
cPanel Access Level
Root Administrator
I have tried to access it via a dedicated IP too with the FQDN and it is still giving me the same error

I have taken the https and changed for http and I am getting

If you are the owner of this website, please contact your hosting provider: [email protected]

It is possible you have reached this page because:

Would it be the SSL cert that is installed that could be causing this?
 
Last edited by a moderator:

Ian Daniels

Well-Known Member
Nov 3, 2016
69
1
8
Manchester
cPanel Access Level
Root Administrator
I had the this problem where I had to amend my local host file with the dedicated IP to access a test webpage, I have tried both IP and FQDN (via the host file) and I am getting the error 500

But this is a secure site so the prefix is https

Once I change this it gives me the default apache fault page
 

Infopro

Well-Known Member
May 20, 2003
17,090
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Well, your addition to the hosts file is used when using Apache mod_userdir Tweak, correct? But you can't use the mod_userdir tweak:
Detected mod_ruid2 in use.
Using both mod_userdir and mod_ruid2 is not a supported configuration.
Changes were not saved.
I think you'd want to remove those edits to the hosts file on your computer.

You should be able to bring up the site with or without SSL. If you're forcing SSL via htaccess, remove/remark that out there as well for now until you have the site operating as expected.
 

Ian Daniels

Well-Known Member
Nov 3, 2016
69
1
8
Manchester
cPanel Access Level
Root Administrator
Hi I have another question

I have two account on one machine

But they are looking at the same public IP

support.******.com
*******.com

in the external DNS I have three entries

*.********.com (wildcard)
*********.com
suport.********.com

If I change these to look at the same IP would CPanel be able to successfully direct the traffic to its correct area?