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....
Hosting on your own server
Moderators: egami, macek, gesf
- Joan Garnet
- Moderator
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
- Contact:
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!
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

Bye!
is your friend on 56k by anychance?
Keep it punk!!
Peace Out
PHP-Punk
Peace Out
PHP-Punk
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?
EDIT: nvm got apache, where to i get: Dynamic Shared Object (DSO) support and Perl 5 Interpreter?
Alex wrote: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?
- Joan Garnet
- Moderator
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
- Contact:
Alex wrote:... 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

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
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
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
is he behind a firewall?
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...