Current time: 05-05-2024, 08:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
add custom server alias to apache config
Author Message
soomon Offline
Junior Member
*

Posts: 37
Joined: May 2007
Reputation: 0
Post: #1
add custom server alias to apache config
hey guys,

I have ispcp 1.0 running on my server with some websites.
i now want to access some of them via my vpn connection to my server so i have a secured connection.
so i added the site name i want it to be accessible at (site.abc) to /etc/apache2/sites-available/ispcp.conf at the part of that website:

ServerAdmin webmaster@abc.de
DocumentRoot /var/www/virtual/abc.de/htdocs

ServerName abc.de
ServerAlias http://www.abc.de abc.de *.abc.de site.abc <--

Alias /errors /var/www/virtual/abc.de/errors/

but after a reaload accessing the site only shows:

Not Found
The requested URL / was not found on this server.

i added site.abc to my windows hosts file.

ports.conf sais:
Listen 80
Listen 443

but wheres my mistake?
or do i have to create a new file and copy everything of that domain but with only that one server name and alias ?

thanks & greets,
soomon
(This post was last modified: 06-01-2009 04:51 AM by soomon.)
06-01-2009 04:49 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
add custom server alias to apache config - soomon - 06-01-2009 04:49 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)