Skip to main content

Accessing Exact Server IP, open a website

Comments

18 comments

  • quietFinn
    I have a server with many cPanel accounts How can I allow when someone access my server IP, it open one of the cPanel accounts? (Exact Server IP not "
    0
  • ImperialTrader
    You assign that IP to that cPanel account.

    How?
    0
  • cPanelLauren
    Hello, You can only do this if you have multiple IP addresses. If you do you can go to WHM>>Account Functions>>Change a Site's IP address
    0
  • ImperialTrader
    Hello, You can only do this if you have multiple IP addresses. If you do you can go to WHM>>Account Functions>>Change a Site's IP address

    Do you mean that I should assign 1 cPanel account only to an IP address in-order to allow opening that website when I access the IP direct?
    0
  • cPanelLauren
    That's the only way this can be accomplished without mod_userdir. Otherwise, the shared IP address is used for all domains on the server including the hostname.
    0
  • ImperialTrader
    That's the only way this can be accomplished without mod_userdir. Otherwise, the shared IP address is used for all domains on the server including the hostname.

    I"m using shared IP address for many domains, can I do it using mod_userdir ?
    0
  • cPanelLauren
    You can, but you'd need to use the URL type
    0
  • cPanelLauren
    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.
    0
  • ImperialTrader
    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.

    hmm okay.. Which is better in your mind (cgi or suphp)
    0
  • cPanelLauren
    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.
    0
  • ImperialTrader
    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 (
    0
  • ImperialTrader
    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.

    Do you mean this module?
    0
  • cPanelLauren
    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
    0
  • ImperialTrader
    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

    Yea I know. Thank you :)
    0
  • ImperialTrader
    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)
    0
  • cPanelLauren
    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.
    0
  • ImperialTrader
    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.

    Got it .. thank you :)
    0

Please sign in to leave a comment.