saix transparent proxy

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,754
Reaction score
998
Location
Australia
Hi guys,

I'm trying to set a website that I'm moving from one server to another. It's aready on the new server, but I don't want to change the DNS before I know the new site works.

Now, I've added the hostname and the new ip address to my hosts file, but the saix transparent proxy still redirects it to the old ip, regardless.

Is there any way to get around this?

Thanks
 
Have you tried Cntrl F5 to force a refresh?

You can also change the web address, and the header on the server.
 
Yeah, I have, but I tail both servers' logs and the request still ends up at the old server showing the saix proxy address as the client IP. it seems their transparent proxy discards the ip address in the original request and instead sends it to whatever DNS tells it to
 
Are you using the dns name in the code anywhere (for example, a link that goes to www.yourdomain.co.za/page1.php)?

If not, register another domain and point it to the new server.
PITA, but bound to work better. Of course, who is to say the damned proxy will ever update the DNS name?

Must say the proxy server causes WAY too many hassles - as can be seen by the numerous problems posted to this site...
 
telnet yournewipaddress 80[enter[
GET / HTTP/1.1[enter]
Host: www.yourdomainname.com[push enter twice here]

ie:
telnet 196.7.147.165 80
GET / HTTP/1.1[enter]
Host: www.mybroadband.co.za[enter][enter]

Gives you back the raw html but its a good enough to test. If you want a specific page change GET / HTTP/1.1 to the page you want eg GET /nephp/? HTTP/1.1

Hope that solves your proxy woahs ;)

(P.S. Yes I know this isn't 100% compliance with HTTP/1.1 but it should work with most servers)
 
Franna said:
What about using the following in your browser: "http://<new IP>

the welcome page of the new server - which is set up to hosts multiple virtual hosts, so that's not going to work
 
Top
Sign up to the MyBroadband newsletter
X