Hi,
in my setup server.maindomain.com i have a reseller that uses the domain maindomain.com
when i type http://www.maindomain.com or http://maindomain.com i get redirected to webmail (i use webmail for non existing vhosts).
I 've checked the httpd.conf and there arent any virtual hosts with www as serveralias.
I 've setup ssl in this domain. the virtual host for ssl exists in httpd.conf and working. So i can browse with https://www.maindomain.com/mysite/index.php but not with http.
Is there something wrong with my config?
thank you in advance,
the /var/cpanel/userdata/user/maindomain.com file is :
---------------------------------------------------------------
---
in my setup server.maindomain.com i have a reseller that uses the domain maindomain.com
when i type http://www.maindomain.com or http://maindomain.com i get redirected to webmail (i use webmail for non existing vhosts).
I 've checked the httpd.conf and there arent any virtual hosts with www as serveralias.
I 've setup ssl in this domain. the virtual host for ssl exists in httpd.conf and working. So i can browse with https://www.maindomain.com/mysite/index.php but not with http.
Is there something wrong with my config?
thank you in advance,
the /var/cpanel/userdata/user/maindomain.com file is :
---------------------------------------------------------------
---
Code:
customlog:
-
format: combined
target: /usr/local/apache/domlogs/maindomain.com
-
format: "\"%{%s}t %I .\\n%{%s}t %O .\""
target: /usr/local/apache/domlogs/maindomain.com-bytes_log
documentroot: /home/user/public_html
group: user
hascgi: 1
homedir: /home/user
ifmodulemodsuphpc:
group: nobody
ip: "xxx.xxx.xxx.xxx"
owner: root
phpopenbasedirprotect: 1
port: 80
scriptalias:
-
path: /home/user/public_html/cgi-bin
url: /cgi-bin/
serveradmin: [email protected]
serveralias: www.maindomain.com
servername: maindomain.com
ssl: 1
usecanonicalname: 'Off'
user: smalls
userdirprotect: ''