Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My second/new (site.com) domain is being redirected to the default/old domain (site.ca). However, when the url is entered with the SSL for the new domain it works just fine. When I use regular with http://, it redirects to my old domain (site.ca).

My configs are as follow: Non-SSL: http://pastebin.com/mKt2zuu8 SSL: http://pastebin.com/Lc1wA5PV

I am frustrated, I have spent over 4 hours trying to figure out what is wrong. I do have two dedicated IPs.

share|improve this question
    
I see no rewrite statements. The Virtual Hosts seem okay –  Christopher Perrin Jun 21 '12 at 23:49
    
Please don't cross-post with SuperUser.com. –  user3914 Jun 22 '12 at 0:03
1  
I still see no problem (or redirect) maybe it is the app/website that redirects you –  Christopher Perrin Jun 22 '12 at 1:23

1 Answer 1

up vote 1 down vote accepted

Apparently Apache was not loading my conf file, after I moved it from an external .conf file straight into httpd.conf, my virtual host are working just fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.