Last active
February 23, 2019 11:29
-
-
Save trinvh/ac74f6e6a81b93f245347543a15f1449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to Module Admin. | |
2. Click Apache Config. | |
3. Scroll to bottom, look at "Override a Virtual Host Setting" section, select your vhost from dropdowns. | |
4. In "Custom Entry" field, paste the following code: | |
`DocumentRoot "/var/sentora/hostdata/[username]/public_html/[domain-alias]/public"` | |
Replace [username] with your login username, and [domain-alias] with your domain directory friendly name (domain.com => domain_com). | |
5. "Save Host" and waiting for Sentora Daemon, or from terminal, reload httpd service: | |
`php -q /etc/sentora/panel/bin/daemon.php` | |
`service httpd restart` | |
6. Done ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if i do that step do i need to change director in public folder as most people do for shared host/// personally i have vps but i did not install any panel for it it try some panel but none of them worked perfectly ... for my laravel project....
thanks if its work it help me ... because i did same thing but without using __panel :)