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.

I've created a web server from a spare computer and Ubuntu Server but I'm having trouble making it viewable from the outside. I've set up port forwarding on my Netgear router but it still dosen't work. Any ideas? Also, the link is: server.fishbe.in

share|improve this question

migrated from stackoverflow.com Dec 19 '10 at 0:41

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

2 Answers 2

You need the Listen directive in your /etc/apache2/ports.conf, e.g.

Listen 81

You will want to change the NameVirtualHost directive to reflect your new port choice as well.

Restart Apache and it will then be listening on port 81. Re-setup your port forwarding and try again. If it is still a no-go, try a different, random port, as 81 might be filtered as well.

share|improve this answer

If it is at your house some ISPs block port 80. Port 81 is usually unblocked and is well known for HTTP.

Make sure a webserver such as Apache is running

$ netstat -plant

or

$ ps aux | grep apache

make sure DNS is properly configured.

share|improve this answer
    
Do I have to change anything server side to get it to go to port 81? –  Phil Dec 18 '10 at 22:10
    
@phil Apache has to start on port 81, or you write a netcat script that routes 80 to 81 –  EnabrenTane Dec 18 '10 at 22:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.