site preview not working
Hi,
Trying to enable the preview of some site I'm transfering from another server, but they aren't working: "Not enabled" error is showing.
I'm working with suPHP + FPM, and I think I properly set mod_userdir and open_basedir.
What else can I check?
How can I access a php_info file, while all of my server's IPs and domains (also the server's domain) are still to be activated through DNS?
Thank you,
-
Well, i think it's working now (probably a PHP misconfiguration, I had my way to properly set suPH and things...), as it now throws a 500 error and I find php errors logged (Could not execute script "/home/dreamlordpress/public_html/index.php"). This is on or 0 -
Hello @Nicola Urbinati, There are several limitations when using the Apache Mod_Userdir URL to access a website. These are documented at: Apache mod_userdir Tweak - Version 70 Documentation - cPanel Documentation The better approach to access a website before it's DNS resolves to your server is to modify the hosts file on your individual workstation: How to Modify your hosts File - cPanel Knowledge Base - cPanel Documentation Thank you. 0 -
Ok, I suceeded with my hosts file. Thank you, 0 -
Hello @Nicola Urbinati, I'm glad to see that helped. Thank you for sharing the outcome. 0
Please sign in to leave a comment.
Comments
5 comments