Create online php server without port forward?

by maryam magdy   Last Updated April 14, 2018 12:01 PM

is there a way to create online php server without port forwarding and having to edit my router settings? I want to create a google maps tracking server and update it remotely. I already have its php code.

Answers 1

That depends on quite a few factors.

If you have a website online, then obviously yes, you can. There are free and cheap webhosting providers that could do this. You upload your code to that site, and using an url you get to the code.

If you want to do everything from home, then it becomes a completely different story.

Do you have a router? If so, then no, you really need to configure your router in order for it to know where the traffic needs to go.

If you really don't want to configure your router, you could connect that pc directly to the modem, and no portforwarding would be necessary. Of course, that means that only one pc has internet access.

There really is no other way, and that is due to what a router does.

You basically go from 1 public IP to many private IP's. Your webserver is behind one of the many private IP's, and when someone opens your website through the public IP, the router then needs to forward the traffic to your webserver. It can only do that by adding a port forwarder in the router. Otherwise it simply doesn't know where the traffic needs to go.

April 14, 2018 11:25 AM

Related Questions

Temporary port forwarding

Updated May 04, 2018 08:01 AM

port forwarding works from some devices only

Updated February 28, 2016 01:00 AM

Accessing my web application over the internet

Updated May 03, 2017 14:01 PM