Test server is behind a router at my house, when trying to access it from outside my home network URL redirected to a 192.168.x.x IP
Permalink
Hello!
I'm brand new to C5 but an excited to learn about it. I have properly setup a development server at my house that sits on my home network, IP 192.168.1.103. I have my router set to forward all http traffic (port 80) to this IP address. When I try to hit concrete5 from my outside my home network using my ISP provided IP address the URL gets redirected to 192.168.1.103 which obviously won't work when Im not on my home network. Is there a way around this?
Thanks!
I'm brand new to C5 but an excited to learn about it. I have properly setup a development server at my house that sits on my home network, IP 192.168.1.103. I have my router set to forward all http traffic (port 80) to this IP address. When I try to hit concrete5 from my outside my home network using my ISP provided IP address the URL gets redirected to 192.168.1.103 which obviously won't work when Im not on my home network. Is there a way around this?
Thanks!
Thanks! Worked like a charm.
Glad it worked!, welcome to C5 :)
zoid, just a tiny thing, you can actually comment out both the BASE_URL and DIR_REL, and it will pull from the base.php which has a similar piece of code
Cool, I didn't know that :), thanks Mnkras
On your config folder, the file site.php change the line that reads;
to
that way you will always be able to access locally and remotely.
Cheers.