Current time: 11-25-2024, 11:50 PM Hello There, Guest! (LoginRegister)


Post Reply 
[possible bug] subdomains not working
Author Message
laddu Offline
Junior Member
*

Posts: 42
Joined: Dec 2008
Reputation: 0
Post: #1
[possible bug] subdomains not working
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
(This post was last modified: 01-12-2009 08:08 PM by laddu.)
01-12-2009 05:19 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[possible bug] subdomains not working - laddu - 01-12-2009 05:19 AM

Forum Jump:


User(s) browsing this thread: 11 Guest(s)