Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to host my site using my own PC via Apache server to make it online? if yes, can anyone please guide me on how to do so.

Thanks in advance!

share|improve this question
    
This is the most asked question on server fault. To see a list of duplicates, please go to: meta.stackoverflow.com/questions/9686/… –  Mark Henderson Mar 24 '11 at 19:33
add comment

migrated from stackoverflow.com Mar 24 '11 at 19:16

This question came from our site for professional and enthusiast programmers.

closed as off topic by Iain, Mark Henderson Mar 24 '11 at 19:33

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

  • First, get it working on your computer - so, download and install Apache and get it running, and when you can browse to http://localhost/ and see your site that's good.

  • Second, get that visible to the outside world, and that depends on your connection. It normally means forwarding a port in from your router, and how to do it depends on what kind of connection (ADSL, Cable, etc) and what make/model of router, but you tell it to pass TCP Port 80 from External connections to the internal IP address of your computer.

Then go to http://checkip.dyndns.org and find your external IP address, and browse from another computer to http://{your-external-ip} and see your site.

When you have got that working, there are some more improvements which can be done to make it more usable.

Which Operating system do you have? (Windows? Windows XP? Windows 7? Linux? Mac OS X?) and what kind of internet connection?

share|improve this answer
add comment