Link to home
Start Free TrialLog in
Avatar of Aamir Hussain
Aamir Hussain

asked on

Turn your computer intro free Hosting

I am running a PHP based website using Xampp under localhost. I want to make my computer as the web server in order to access my site from any place.I tried many methods but I found temporary solutions.I want a permanent solution to this problem.

I have a domain name and I want to use my Computer as Hosting.

Kindly give suggestions.
SOLUTION
Avatar of Ares Kurklu
Ares Kurklu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aamir Hussain
Aamir Hussain

ASKER

I used ngrock for this . ngrock creates a tunnel but it works for a specific period.I do not know how to make it permenently
I did port forward.Kindly tell me how to point domain name on IP address
As I listed above you need to make those changes, do you have a static ip ? did you buy a domain name?
wherever you purchased your domain name from they should have some sort of DNS admin/management/control panel
when you login there you should be able to manage your domain name settings
and point into a new IP address where you can put your home IP
Yes, I did it.Now Site is working in Local Network. http://starsacademy.tk/smart_school_src/site/login This is site address.This is opening in the local network and working fine but in other networks, the site is not loading.

Open 80,443 ports in FIrewall and in router too.
ASKER CERTIFIED SOLUTION
Avatar of Ashok Dewan
Ashok Dewan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Something to think about - you should be taking security seriously if you're opening up your PC to the world. XAMPP by default is not particularly secure for production (it's designed primarliy for development) so by using it, you are putting your computer and network at risk.

If you have a busy site, then bandwidth is also likely to be a problem by running a webserver over something like home broadband.

Just because you can do it, doesn't mean that you should :)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for giving an expert opinion.