Control Web Panel
WebPanel => DNS => Topic started by: daowen on March 30, 2018, 02:15:36 AM
-
Hi Support,
Usually find the answers myself but this time it is not working.
Pointed the DNS as the server a few days ago and then added a new user to the server with the domain. When I go to the domain it resolves to the root directory of the host and shows the contents:
img/
info.php
laravel/
php.ini
phpMyAdmin/
roundcube/
webftp_simple/
Very concerned about this and removed the domain. Need to have this resolved and help will be great.
-
I have dug a little and found the new domain is showing the contents of:
/usr/local/apache/htdocs/
Why?
Here is the VHost setup
# vhost_start *****.ca
<VirtualHost 23.****.102:80>
ServerName ****.ca
ServerAlias www.****.ca
ServerAdmin webmaster@****.ca
DocumentRoot /home/****/public_html/*****.ca/
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/***/public_html/*****//cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/***/***/***.ca/*.conf
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled daowenpu
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup **** ****
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup **** ****
suPHP_ConfigPath /home/****
</IfModule>
<Directory "/home/****/public_html/****.ca/">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end ****.ca
-
I also have this problem, the domains point to / var / www / html and not to the folder that I established, could you solve it? I would appreciate your help