You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pablo Jejcic <pj...@scms.rgu.ac.uk> on 2002/08/02 12:55:15 UTC
www.site.uk instead of site.uk
Folks,
I installed a Apache 1.3 on Solaris 7.
I configure it following the instructions and everything work right, but we
are using our site for production and for develope. So we want to configure
it using www.site.uk for production and site.uk for developers.
Can anyone help me?
I look at the instructions and I didn't find the way to do it.... Can I do
this?
Thanks in advance.-
Pablo.-
Re: www.site.uk instead of site.uk
Posted by Maurizio Marini <ma...@datalogica.com>.
You need an entry for site.uk in your site.uk dns zone file, too
as i suppose u know
- maumar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: www.site.uk instead of site.uk
Posted by Robert Andersson <ro...@profundis.nu>.
www.site.uk instead of site.ukSetup two different virtual hosts:
http://httpd.apache.org/docs/vhosts/index.html
For the first one use: (excerpt)
ServerName www.site.uk
DocumentRoot /path/to/site/pub
and for the second: (excerpt)
ServerName site.uk
ServerAlias dev.site.uk
DocumentRoot /path/to/site/dev
The ServerAlias was just for fun, no need to do so.
Read up on Virtual Hosts, and come back if you have any problems.
Regards,
Robert Andersson
----- Original Message -----
From: Pablo Jejcic
To: users@httpd.apache.org
Sent: Friday, August 02, 2002 12:55 PM
Subject: www.site.uk instead of site.uk
Folks,
I installed a Apache 1.3 on Solaris 7.
I configure it following the instructions and everything work right, but we are using our site for production and for develope. So we want to configure it using www.site.uk for production and site.uk for developers.
Can anyone help me?
I look at the instructions and I didn't find the way to do it.... Can I do this?
Thanks in advance.-
Pablo.-