Page 1 of 1

PHP access via the Ip address without domain

Posted: Mon Nov 08, 2021 10:10 am
by Meister
Hello,

I am coming from HestiaCP and in HestiaCP you could access PHP files via the path /var/www/html via https://IPAdresse. When I upload a file like the admin at myvesta and call there comes the error message it would not exist. How do I get access to PHP files via the Ip address?

best regards

Re: PHP access via the Ip address without domain

Posted: Mon Nov 08, 2021 10:28 am
by myVesta
In order to do that, you will need to modify both nginx and apache2 config files.
Unfortunately, I never did that, so I can't tell you what exactly you need to modify.

Re: PHP access via the Ip address without domain

Posted: Mon Nov 08, 2021 10:31 am
by Meister
Can you look at the configuration of HestiaCP and take the appropriate configuration from there? Would be nice if it is included in the next update :) .

Re: PHP access via the Ip address without domain

Posted: Mon Nov 08, 2021 10:39 am
by myVesta
But it sounds me like a little security risk, if we make ip address to read from /var/www/html
Anyway, I will consider to enable this as optional feature, in some of future releases.