For example, I have a website made for my manager. He needs to view the website and interact with it easily. He needs to view to all the Policies of the Website that I have uploaded and interact it in order to make further changes to it using his own computer. How do you do this and how is it possible.
I am using XAMPP (localhost to view all my websites) How can the other user view my website without having to install XAMPP in his computer? Is it possible for MySQL to be shared with another computer ?
There are a lot of services providing what you ask. The services create a tunnel to your localhost in order to allow other people to access it.
Some examples:
I've heard that if you’re just getting started, You should use ngrok. Client set up is the easiest and it offers the most features of any of the options and its completely free.
you can simply replace 127.0.0.1 or localhost with your IP address in the url ( assuming that you are both in the same office network ). e.g. replace localhost/project/index.php
with yourip/project/index.php
if on windows just type ipconfig
in your command prompt or try ifconfig
on mac or linux to find out your ip.
There are several ways to solve your problem.
You can provide access to your local machine. Therefore you have to check your firewall settings and normally open port 80 or 8080. Then you have to decide:
You can also use a tunnel to offer a local service. For example:
Another solution would be to use a public webhoster. It's an affordable solution and you don't have to worry about any local issues. If you often want to offer your service or even run it 24/7, i would prefer this solution.
For experienced users there is also the possibility by bypassing the service with a reverse ssh portforwarding. For additional information i would recommend following blog-post: toic.org - reverse-ssh-port-forwarding.