| Author |  | 
| casemaker 
 
 
 Joined: 18 Oct 2011
 Posts: 3
 
 
 | 
|  Posted: Tue 18 Oct '11 1:38    Post subject: Apache forwards to live site |   |  
| 
 |  
| I have setup Apache with a website that I can use as a development model before loading it onto an external server.  When I connect to it using 192.168.0.112 on my wireless router, it loads the index.html and then sends me to the live site. Is there some way to prevent this unwanted redirection?
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Tue 18 Oct '11 10:18    Post subject: |   |  
| 
 |  
| Is that index.html from your router or on the dev server? |  | 
| Back to top |  | 
| casemaker 
 
 
 Joined: 18 Oct 2011
 Posts: 3
 
 
 | 
|  Posted: Tue 18 Oct '11 14:10    Post subject: |   |  
| 
 |  
| It's on the development server.  I downloaded the entire directory from the live site so it is identical. |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Tue 18 Oct '11 14:49    Post subject: |   |  
| 
 |  
| So there is might a redirection in your html code or javascript or .htaccess or server side scripts? Anything that is checking the domain name? |  | 
| Back to top |  | 
| casemaker 
 
 
 Joined: 18 Oct 2011
 Posts: 3
 
 
 | 
|  Posted: Thu 20 Oct '11 1:38    Post subject: |   |  
| 
 |  
| I located the configure.php which I changed to "test.mydomain.com" There was nothing significant in the .htaccess like a url. |  | 
| Back to top |  |