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.
Aamir HussainAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ares KurkluSoftware EngineerCommented:
what were the temporary solutions?

First of all you need to have a static IP, then you need to point the domain name to your home IP address, you will have to open the web server port whichever you are using I am guessing 80 on your firewall, also need to check your router to allow those requests.
1
Aamir HussainAuthor Commented:
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
0
Aamir HussainAuthor Commented:
I did port forward.Kindly tell me how to point domain name on IP address
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Ares KurkluSoftware EngineerCommented:
As I listed above you need to make those changes, do you have a static ip ? did you buy a domain name?
1
Ares KurkluSoftware EngineerCommented:
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
1
Aamir HussainAuthor Commented:
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.
0
Ashok DewanFreelancerCommented:
Follow below steps and  you are ready to launch server at home.
1) First you need to open your modem/router's page from computer by putting router's IP address in browser. open it and look for virtual server/portforward tab in router's page. once found put your computer's IP address where server is running and port 80/443 in both side outside and inside.
Once it done then scan from outside to check port 80 is running or not
http://www.t1shopper.com/tools/port-scan/
2) if you have static IP address. How to check? visit whatismyip.com notedown your ip address and restart your moden/router  and visit again same website to check if IP address change or not. if not changed then it is static IP.
But if it has changed then you can go to Dyndns.com to buy service for dynamic IP. Because if  your modem/router's IP changed on restart then it will be notified to dyndns.com. Dyndns.com always will have new ip address entry of your modem on restart.

3) If static IP address then website which offer services to get new domain names. they also have option to put your static ip address with your purchased domain name. it will work as DNS.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris StanyonWebDevCommented:
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 :)
1
nociSoftware EngineerCommented:
A few points to think about...
Static ip would be nice, dynamic is possible, see to it that you can have a stable dyndns like name.
then you can use a CNAME record to have the name you chose to that in between name.

If you want private access to your system, may be a VPN to your system is the best approach (might still need a dyndns name in case of dynamic addresses). Only exposes one (security oriented) port o the world.
1
Aamir HussainAuthor Commented:
Thanks for giving an expert opinion.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.