Results 1 to 10 of 25
That's my first time ever trying to host a website on my PC. While I can see the html file when I type http://127.0.0.1/ or when I type my IP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-17-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 23
setting up web server - NOOB Q
That's my first time ever trying to host a website on my PC. While I can see the html file when I type http://127.0.0.1/ or when I type my IP http://xx.x.x.xxx/, other people tell me they cannot access the site.
I seem to have installed Apache correctly - it was confirmed by a console message I got. I also have Webmin installed as I read somewhere it is useful.
I just don't know where to start. How, for example am I to check whether the site is 'visible' on the net? It is not, and I have no idea what I'm doing wrong. I've looked at httpd.conf file, but being a noob I don't know what to edit there.
I'd appreciate some step by step tips. Not everyone started off as a guru. THANKS!
- 09-17-2005 #2Just Joined!
- Join Date
- Sep 2005
- Location
- Waterford Irl.
- Posts
- 17
Same here.I have been going round in circles for the last few hours trying get a few simple instructions to get me started.Thanks in advance to any kind person who will take pity on me and times
- 09-17-2005 #3Linux Newbie
- Join Date
- Jul 2005
- Location
- ~/home
- Posts
- 105
is the server directly connected to the internet,
or is it behind a router?
in case it's behind a router, search google for portforwarding.
- 09-17-2005 #4Linux Newbie
- Join Date
- Jul 2005
- Location
- Turn Around
- Posts
- 202
if its behind a firewall or router u must allow traffic thru port 80 with port forwarding
keep in mind some IPSs dont allow port 80 to be used to hosting websites
- 09-17-2005 #5Just Joined!
- Join Date
- Sep 2005
- Location
- Waterford Irl.
- Posts
- 17
Thanks both, I think my problem is with the darned ISP, will check with them Monday.
- 09-18-2005 #6Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
you can always change to port 8080, usually the isp will not block that high, also make sure you reload httpd whenever you change settings, and set up portforwarding to the correct station on the router.
Operating System: GNU Emacs
- 09-18-2005 #7Just Joined!
- Join Date
- Jul 2005
- Posts
- 23
How do I do that
Originally Posted by genesus
I have a direct connection to the Internet, I think. It's a LAN connection, which means I have Internet access as soon as my PC boots. Thank you.
- 09-18-2005 #8Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
well, before you do do that call your isp and make sure that they do in fact block port 80. Then with your registrar forward the domain to your ip with :8080 after it...so if you are bill.com, you would use bill.com:8080...and you would have to configure apache through httpd.conf to use 8080, you can make sure that you open the port correctly with
It is still kind of rare that isps will block 80, so run the above command and make sure that it is open on your end...also in httpd.conf what does your line that has "listen" look like?Code:nmap -sT localhost
Operating System: GNU Emacs
- 09-18-2005 #9Just Joined!
- Join Date
- Jul 2005
- Posts
- 23
This returns the following:
Originally Posted by genesus
Code:(The 1654 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 80/tcp open http 111/tcp open rpcbind 443/tcp open https 631/tcp open ipp 1013/tcp open unknown 6000/tcp open X11 10000/tcp open snet-sensor-mgmt Nmap finished: 1 IP address (1 host up) scanned in 0.357 seconds
I haven't changed any settings here, here's what I have:
Originally Posted by genesus
What else should I configure to have my site up and running? Thanks in advance.Code:<IfDefine APACHEPROXIED> Port 8080 Listen 8080 </IfDefine> <IfDefine !APACHEPROXIED> Port 80 Listen 80 </IfDefine>
- 09-18-2005 #10Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
ok, everything looks good; however, if you want to use port 8080, nmap is not detecting it as open, but it does have port 80 open...what is the site, so we can try to get to it and see the error message?
Operating System: GNU Emacs


Reply With Quote
