[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot change Apache2 ServerName/ServerAlias



On Tue, Feb 07, 2006 at 02:27:28PM -0500, Yu,Glen [Ontario] wrote:
> Yes, ServerName and ServerAlias are on separate lines in the config file as well as everything you've mentioned below (including the /etc/hosts).  
> 
> The error the browser is giving me is:
> 
> Cannot find page (or something similar) with IE (on the off chance that it was a browser problem)

OK, are you trying to access the server from outside? What I mean is
that first you should make sure, that the configuration works locally.
I.e. point your browser locally to http://server/ and to
http://newpagename/. Of course you need to have the index.htm or
index.html in the DocumentRoot directory.

If you try access the server from LAN, the server and the alias name need
to be in your hosts file in the host from where you are trying to access
the http://server/ or http://alias/. If you are using DNS, then you
need to have records for both the server and the alias.

> and
> 
> Using Firefox 1.5.0.1: Google telling me that "Your search - newpagename - did not match any documents"

I'm a little confused. Why do you try find the site with Google?

First of all, it takes a while, before Google finds your site. Secondly
Google doesn't know about the alias name of your site, it only searches
the contents of the pages in your server. For information on how to
make your site show up in the Google results, see the Webmaster basics
in the Google site.

Simo
-- 
:r ~/.signature

Attachment: signature.asc
Description: Digital signature


Reply to: