On Mon, Feb 06, 2006 at 04:47:26PM -0500, Yu,Glen [Ontario] wrote: > I'm having trouble changing the ServerName & ServerAlias to look up my page. > > I'm running Debian 3.1 with 2.4.x kernel on an old Dell laptop, however, I can only access my page via http://server but not as something else (i.e. http://newpagename). This is what I have at the moment inside /etc/apache2/sites-available/default (I simply changed DocumentRoot, commented out RedirectMatch ~/$ /apache2-default, and added in ServerName server and ServerAlias newpagename: [snip] > Regards, > -Glen > I forgot to mention, that you also need to enable your site by creating a symlink to /etc/apache2/sites-enabled either manually or with the a2ensite tool. And of course restart apache2 after the changes :) Simo -- :r ~/.signature
Attachment:
signature.asc
Description: Digital signature