Varnish and default for vhost file

1 post / 0 new
#1 Wed, 06/29/2011 - 16:11
gmak

Varnish and default for vhost file

Hi,

I've got my server setup with Varnish in front of Apache, and it works! (Well, sort of...)

I'm finding that after I create a new Virtual Host, I have to go in and edit the configuration file that is generated in /etc/apache2/sites-enabled.

The file automatically inserts the line:

But this is not accessible to visitors unless they put the port number in their URL:

http://www.my.doma.in:8000

If I edit this file and use: Then visitors can use http://www.my.doma.in.

So, what I'm wondering is:

Is there a way to Virtualmin to create the config file to include

or

Is there a way to configure things so that Virtualmin can generate , but a visitor doesn't need to use the port number in the URL.

Many thanks.