Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.