sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
648 stars 446 forks source link

Install sentora on port not subdomain #140

Closed MoBadawy closed 9 years ago

MoBadawy commented 9 years ago

Why sentora does't setup on port like this http://xxx.xxx.xxx.xxx:xxxx instead of subdomain ?

5050 commented 9 years ago

was a choice before sentora... and it is like colors : some prefers one, other another. The perfect solution would be a question at setup to choose between both.

allebb commented 9 years ago

I also feel that it's a better solution as most corporate firewalls and proxies restrict non-stanard HTTP/HTTPS ports... just a thoguht :)

On 19 March 2015 at 13:52, Pascal Peyremorte notifications@github.com wrote:

was a choice before sentora... and it is like colors : some prefers one, other another. The perfect would be a question on setup to choose between both.

— Reply to this email directly or view it on GitHub https://github.com/sentora/sentora-core/issues/140#issuecomment-83589382 .

ghost commented 9 years ago

I think, question about prefered access url at setup will be good, but @bobsta63 have right, non-standard port can be a problem.

michelsup commented 9 years ago

Also, working with subdomains is the easiest way to split services between different hardware servers.

RickBakkr commented 9 years ago

You are currently able to set this up? Why don't you close this issue?

5050 commented 9 years ago

It acts as remainder. It is not urgent, but when I could be back on the installer or on the apache manager, I'will try to see if there is a simple way to implement a choice.

Caffe1neAdd1ct commented 9 years ago

There are separate ports in x_settings for the control panel vs virtual hosts so this would be quite simple to implement.

TGates71 commented 9 years ago

It can be on custom port (Sentora Login Port in Sentora Config). but it is NOT suggested to be run or accessed using IP! This is why there is a question during install for you to set the login subdomain. Check any other hosting software too, they suggest sub.domain.com:port. If you really want to use it in a manner it was not intended, you are on your own. But the settings are all there inside the panel/database... just look for sentora_port in the x_settings table. Or from command line: setso --sentora_port xxx ??