View Full Version : [SOLVED] Unable to create a virtual host with Apache on any ports other then 80

October 24th, 2010, 02:30 AM
Hello, I have just installed Ubuntu Server 10.10, and I installed Webmin 1.520. When I goto Servers --> Apache Webserver --> Create Virtual Host --> I leave everything the default settings but change: Port 81 and Document root "/var/www2/" Then I restart Apache. But when I go to I get Firefox can't establish a connection to the server at . I have no idea what I am doing wrong. Any help would be greatly appreciated!

October 24th, 2010, 03:22 AM
I had to add this to /etc/apache2/ports.conf

NameVirtualHost *:88
Listen 88

Works for me now. :)

Here's /etc/apache2/httpd.conf:

<VirtualHost *:88>
ServerName mars
DocumentRoot /var/www/port88

October 24th, 2010, 03:35 AM
Thanks that got it working!

October 24th, 2010, 03:43 AM
Glad it works. Don't forget to mark the thread as solved from the thread tools menu. :)