Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th September 2007, 13:02
klaus++ klaus++ is offline
Junior Member
 
Join Date: May 2006
Location: Berlin
Posts: 19
Thanks: 4
Thanked 1 Time in 1 Post
Default www host directs to shared ip message

Hello,
first I thought this must be a common problem but I have not managed to find exactly the same phenomenon:
I create a web with the host name www and the domain name pgz-treptow.de. Now http://pgz-treptow.de points to the www.pgz-treptow.de welcome page and http://www.pgz-treptow.de points to the shared-ip message of the main server.

The server only has one ip, Vhosts_ispconfig.conf seems to be ok and trash is empty. Now I ran out of ideas and would need your inspiration to go any further.

Thank you for your help,
klaus++

BTW here's the paragraph of Vhosts_ispconfig.conf

######################################
# Vhost: www.pgz-treptow.de:80
######################################
#
#
<VirtualHost 85.10.208.41:80>
ServerName www.pgz-treptow.de:80
ServerAdmin webmaster@pgz-treptow.de
DocumentRoot /srv/www/web59/web
ServerAlias pgz-treptow.de
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /srv/www/web59/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web59/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/srv/www/web59/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web59/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web59/user/$1/web/$3
</VirtualHost>
Reply With Quote
Sponsored Links
  #2  
Old 5th September 2007, 13:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

It works for me. The domain points with and without www to the website and not to the shared IP page. Please check the hosts file on your workstation, if you redirected the domain with www to a wrong IP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th September 2007, 14:14
klaus++ klaus++ is offline
Junior Member
 
Join Date: May 2006
Location: Berlin
Posts: 19
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

hosts ok. There must have been wrong entries in a DNS cache ....
Sometimes things happen outside your server :-(
Thank you so much for checking!
klaus++

Quote:
Originally Posted by till
It works for me. The domain points with and without www to the website and not to the shared IP page. Please check the hosts file on your workstation, if you redirected the domain with www to a wrong IP.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
Undelivered Mail - What could I have missed in configuration? AZMel Installation/Configuration 8 12th January 2007 11:00
System attack message from logcheck Hagforce Server Operation 6 30th August 2006 16:07
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Problem recieving mail webstergd Installation/Configuration 19 16th December 2005 12:08


All times are GMT +2. The time now is 23:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.