RE: Cannot change Apache2 ServerName/ServerAlias
- From: "Yu,Glen [Ontario]" <Glen.Yu@xxxxxxxx>
- Date: Tue, 7 Feb 2006 12:08:19 -0500
I'm still having trouble trying to access my page through an alias
Here's what I've fixed/done so far:
1) changed ServerName http://server to ServerName server
2) used the a2ensite tool to enable the site
As for /etc/hosts, I already had the following in it:
127.0.0.1 localhost.localdomain localhost
123.45.678.901 hostname.domainname hostname aliasname
Am I suppose to have them in 2 separate lines?
i.e.
127.0.0.1 localhost.localdomain localhost
123.45.678.901 hostname.domainname hostname
123.45.678.901 hostname.domainname aliasname
Also, I do plan to have more vhosts running after I figure apache2 (running on Debian 3.1) out.
Thanks in advance!
Regards,
-Glen
-----Original Message-----
From: Antonio Ognio [mailto:gnrfan@xxxxxxxxxx]
Sent: Tuesday, February 07, 2006 11:28 AM
To: debian-user@xxxxxxxxxxxxxxxx
Subject: Re: Cannot change Apache2 ServerName/ServerAlias
El Mon, 06-02-2006 a las 16:47 -0500, Yu,Glen [Ontario] escribió:
I'm having trouble changing the ServerName & ServerAlias to look up my page.
Have you addded a line in /etc/hosts to point newpagename to your IP
address?
If you intend to have only one page there by far the simplest way is not
mess with VirtualHost setup and just let the main configuration serve
pages from your main DocumentRoot no matter with IP address or host name
the cliet (e.g. browser) reach you by.
Hope that helps,
Antonio.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Cannot change Apache2 ServerName/ServerAlias
- From: Simo Kauppi
- Re: Cannot change Apache2 ServerName/ServerAlias
- Prev by Date: Re: re-install, now palm pilot is not found
- Next by Date: Re: PDF with big honkin images
- Previous by thread: Re: Cannot change Apache2 ServerName/ServerAlias
- Next by thread: Re: Cannot change Apache2 ServerName/ServerAlias
- Index(es):
Relevant Pages
|