We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to change directory of server ip to /var/www/html ?
-
- Posts: 8
- Joined: Fri Oct 18, 2019 7:33 pm
- Os: Ubuntu 15x
- Web: apache + nginx
How to change directory of server ip to /var/www/html ?
Currently when I enter server ip in browser, content of the default website will show up (/home/admin/web/****.com/public_html/). How can I change it to /var/www/html ?
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: How to change directory of server ip to /var/www/html ?
What the point? Any reason of this?daniyal.javani wrote: ↑Fri Oct 18, 2019 8:01 pmCurrently when I enter server ip in browser, content of the default website will show up (/home/admin/web/****.com/public_html/). How can I change it to /var/www/html ?
Re: How to change directory of server ip to /var/www/html ?
Well... in linux you can do almost anything, you can make changes in config files or VestaCP templates and you will use different directories.daniyal.javani wrote: ↑Fri Oct 18, 2019 8:01 pmCurrently when I enter server ip in browser, content of the default website will show up (/home/admin/web/****.com/public_html/). How can I change it to /var/www/html ?
But you need to know, may be you will get some adventures on your server and you need to prepare for this.