Hello,
I`m back with other issue. I create a subdomain for my domain, and when I try to access it it is pointing to the main domain.
Entries exists in DNS zone as follows:
Code:
; sub [forum.nights.ro] entry BEGIN.
forum.nights.ro. IN A 85.9.22.129
www.forum.nights.ro. IN A 85.9.22.129
ftp.forum.nights.ro. IN A 85.9.22.129
localhost.forum.nights.ro. IN A 127.0.0.1
; sub [forum.nights.ro] entry END.
I can not fin something related in httpd.conf nor in vhosts.
Please an advice.
Regards
After a httpd restart an error occurs:
Code:
service httpd start
Starting httpd: httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Syntax error on line 844 of /etc/httpd/vhosts/ispcp.conf: </IfModule> without matching <IfModule> section
[FAILED]
httpd wont start
The error is caused by this line being like this
Code:
</IfModule> # httpd sub entry PHP2 support END.
it should be like this
Code:
</IfModule>
# httpd sub entry PHP2 support END.
and also the subdomains start to work after the # httpd sub entry PHP2 support END. was moved to the next line.
This seems to be a bug. Every time I add or remove a subdomain the line is back and subdomain not working