Hi
Could someone give me a pointer please with an httpd issue I am having.
I installed a domain and then created wildcard sub domains, however I made a mistake when creating them. I created just *.domain rather than ServerAlias *.domain. I went and fixed this in the /usr/local/directadmin/data/users/reselleraccountinquestion/httpd.conf: file and restarted my server. All was fine from this point onwards and the wildcards worked.
However, I have now added several more domains into the same reseller account and it is reverting back to the *domain.com problem. I have created all the wildcard subs for the new domains correctly but the httpd seems to keep overwriting the original *.domain.com I did wrong and corrected. Because of this it makes httpd fail and when I try and restart it it tells me
Starting httpd: Syntax error on line 161 of /usr/local/directadmin/data/users/reselleraccountinquestion/httpd.conf:
Invalid command '*.', perhaps misspelled or defined by a module not included in the server configuration
I can fix the issue easy enough by going back and editing the file again but I would rather not have to edit this file each time I wish to add a new domain.
Anyone know a solution please
Carl
Could someone give me a pointer please with an httpd issue I am having.
I installed a domain and then created wildcard sub domains, however I made a mistake when creating them. I created just *.domain rather than ServerAlias *.domain. I went and fixed this in the /usr/local/directadmin/data/users/reselleraccountinquestion/httpd.conf: file and restarted my server. All was fine from this point onwards and the wildcards worked.
However, I have now added several more domains into the same reseller account and it is reverting back to the *domain.com problem. I have created all the wildcard subs for the new domains correctly but the httpd seems to keep overwriting the original *.domain.com I did wrong and corrected. Because of this it makes httpd fail and when I try and restart it it tells me
Starting httpd: Syntax error on line 161 of /usr/local/directadmin/data/users/reselleraccountinquestion/httpd.conf:
Invalid command '*.', perhaps misspelled or defined by a module not included in the server configuration
I can fix the issue easy enough by going back and editing the file again but I would rather not have to edit this file each time I wish to add a new domain.
Anyone know a solution please
Carl