• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 43
  • Last Modified:

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.
0
Aamir Hussain
Asked:
Aamir Hussain
3 Solutions
 
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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
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
 
Chris StanyonCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now