Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4654

Adding Vhost for another service, not working

$
0
0
Hello, i am trying to use pufferpanel in conjunction with sentora for a web panel and control panel, i do have it sorta working, what i did is add the vhost as follows

<VirtualHost *:80>
   ServerAdmin admin@test.com
   ServerName gpanel.konzor.com
   ServerAlias mcpanel.konzor.com
   DocumentRoot /srv/pufferpanel/public
   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


to end of  /etc/sentora/configs/apache/httpd-vhosts.conf

and when i do apache2 restart it works fine.
,

but the problem is, if i add a new domain to sentora or sentora updates the httpd-vhost.conf then it gets reset and i have to add the vhost every time, i tried making gpanel.konzor.com and using custom vhost settings but that didnt work, i also tried doing placeholder.konzor.com as the domain and adding the vhost in it. and i tried to even add /etc/apache2/sites-enabled/ in the Global Sentora Entry & Global Apache Entry, and that breaks the vhosts to where i have to manually edit it out for it start apache2, im stuck not sure what to do.

Viewing all articles
Browse latest Browse all 4654

Trending Articles