Hosting on your own server

A

Anonymous

Guest
I dont have any problems and all, but a friend of mine wants to host his website by himself, using his computer as a server. The thing is that nobody can connect to his Apache server through the internet to actually view his website. I was wondering if there is anything that he needs to do to/in apache in order for it to be visible to other people on the net? I've tried searching a few search engines like Google, Yahoo, MSN, Altavista, Rambler and Yandex but could not find the answer.
Help pliz :!:
Thanx in advance....
 
Well,
If you install Apache, then you can publish your websites on the internet.
Just type your IP address and anything that is in your htdocs folder will appear.

You can know your IP address -->
Windows: start>>Run>>then type cmd>> the DOS console will open, now type ipconfig there you are your IP address.
Now you can go to your browser and type your address http://xxx.xxx.xxx.xxx

Linux: from the command line type /sbin/ifconfig your IP address is the inet addr

This is just the beginning... there are a thousand things more to do :) but this is not the right forum
Bye!
 
omg, 56k? thats a real slow server i tell ya.. oh yeah.. i wanted to run my computer as a server too, can any one tell me the steps from the beginning to the part where you install apachell? also my current windows is xp pro.

EDIT: nvm got apache, where to i get: Dynamic Shared Object (DSO) support and Perl 5 Interpreter?
 
Alex said:
I dont have any problems and all, but a friend of mine wants to host his website by himself, using his computer as a server. The thing is that nobody can connect to his Apache server through the internet to actually view his website. I was wondering if there is anything that he needs to do to/in apache in order for it to be visible to other people on the net? I've tried searching a few search engines like Google, Yahoo, MSN, Altavista, Rambler and Yandex but could not find the answer.
Help pliz :!:
Thanx in advance....

Does it work locally for him?
 
Alex said:
... I was wondering if there is anything that he needs to do to/in apache in order for it to be visible to other people on the net? I've tried searching a few search engines like Google, Yahoo, MSN, Altavista, Rambler and Yandex but could not find the answer.
Well, if the problem is that you are not listed in those search engines you should enter your URL by using one of those freeware apps that list you in thousands of search engines :?: or going to each search engine and find a link like this -->
http://www.google.com/addurl.html
 
Hi!

Perhaps you should check that the variable ServerName in httpd.conf is not 127.0.0.1... otherwise it will only work locally... By the way, as RedCircle suggested, does it work locally for him, that is by typing http://127.0.0.1 (assuming Apache is running on port 80) in his web browser?

/Flood
 
Sorry guys, my computer broke down on me, it didn't want to start, so i had to play around with it for a long time to get the stupid os to load. Anyways, now that that's all over, i will answer all the questions.

My friend is no on 56k modem, he has DSL and i told him that it would be much easyer to have somebody else host it for him, but he just wants to do it himself.

He can aceess his own server so it does work locally, but nobody else can, it either gives out an error message or or says that that the website cant be found...

I did tell him to try and change the port in htdocs.conf that apache is using from 80 to 8000 and 8080 but and we did put :8000 ro :8080 at the end of his ip adress but it still did not run; it gave a page can't be found message every time.(and yes he did restart the server after edditing the configuration file)

I know its weird, but that's how it is... Always open for more ideas and suggestions, thanx in advance. G2G
 
I think he might be. Actually, i'm pretty sure that he has a firewall on his computer, but we tried accessing his server after disabling it, but the results were negative...
 
To make a website hosted on a personal computer accessible over the internet:

  1. Set up a static IP address for the computer.
  2. Configure port forwarding on the router for ports 80 (HTTP) and 443 (HTTPS) to the computer's local IP address.
  3. Allow incoming connections on the computer's firewall for the designated ports.
  4. Verify that Apache is configured to listen on the correct ports and allows external connections.
  5. Consider configuring DNS settings to associate a domain name with the website.
  6. Test the website from a device outside the local network.
Note: Ensure computer security, keep server software updated, and check ISP terms regarding hosting servers on residential connections.
 
Back
Top