Accessing Exact Server IP, open a website

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator

ImperialTrader

Well-Known Member
Aug 31, 2014
167
18
68
Egypt
cPanel Access Level
Root Administrator
Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
That's a common issue with mod_userdir and the reason its usually recommended to change your local hosts file to get a better idea of how a site functions before the site resolves.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Well, if you want to use mod_userdir you cannot use CGI. There's nothing wrong with using suPHP though it is a bit slower than CGI but it runs scripts as the user as opposed to the Apache user (nobody) which is a security benefit. mod_ruid2 + CGI get's that security benefit as well though.
 
  • Like
Reactions: ImperialTrader

ImperialTrader

Well-Known Member
Aug 31, 2014
167
18
68
Egypt
cPanel Access Level
Root Administrator
Well, if you want to use mod_userdir you cannot use CGI. There's nothing wrong with using suPHP though it is a bit slower than CGI but it runs scripts as the user as opposed to the Apache user (nobody) which is a security benefit. mod_ruid2 + CGI get's that security benefit as well though.
Great :)

Why I can't use the URL type (http://IPADDRESS/~user) with a secure connection (https://IPADDRESS/~user)?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Yes, that's the mod_ruid2 module, keep in mind though if you run CGI + mod_ruid2 you will not be able to utilize mod_userdir but you will get similar benefits as you would if you were using mod_suphp
 
  • Like
Reactions: ImperialTrader

ImperialTrader

Well-Known Member
Aug 31, 2014
167
18
68
Egypt
cPanel Access Level
Root Administrator
Yes, that's the mod_ruid2 module, keep in mind though if you run CGI + mod_ruid2 you will not be able to utilize mod_userdir but you will get similar benefits as you would if you were using mod_suphp

How to I assign 1 cPanel account only to use (suphp) while the main PHP version in (MultiPHP Manager) is set to (cgi)
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
How to I assign 1 cPanel account only to use (suphp) while the main PHP version in (MultiPHP Manager) is set to (cgi)
You can't assign 1 account like this unless that account is using a specific PHP version that none of the other accounts are using. The PHP handler is assigned on a global basis for all accounts using that PHP version.
 
  • Like
Reactions: ImperialTrader