-
-
Save GrapsasFilippos/1ac891ca1f1865fc9017bb1995abe136 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