No able to add subdomains

#1
Hey guys,
I have an OLS server with a domain.com and www.domain.com working perfectly. Now I need to add several subdomains that have to be redirected to the root domain.com. I have already created .htaccess rules to do so and added the subdomains as Domain Aliases (Virtual host --> General) but it's being impossible to have OLS to recognize this subdomains and redirect them properly. Every time I access test.domain.com get the default 404 Litespeed page.
I guess I may be missing some point?
Thanks!
 

Cold-Egg

Administrator
#2
May I know if you have a wildcard or the subdomain added to the listener? is it possible to provide the whole content of the .htaccess?
 
Last edited:
#3
Damn, I added the domain to the virtual host but forgot to add it to the listener! Thank you so much Cold-Egg, have a great day!
 
Top