Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 10th February 2010, 18:58
PermaNoob PermaNoob is offline
Senior Member
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default domain points to wrong directory -- with www. points correctly

I just added a domain/virtual server in ISPConfig 2 and when I go to the domain without www at the front it goes to the wrong directory and thus an entirely different website.

If I put the www. in front, it goes to the correct directory.

I've looked at the Vhosts_ispconfig.conf and everything looks correct.

Anyone know why this might happen?

I had a friend at another isp check and he gets the same thing.


Found the problem: somehow the domain name of the new domain was added next to the domain name it pointed to on the ServerAlias line of Vhosts_ispconfig.conf in addition to its normal configuration entries -- never had that happen before.

I deleted the domain name from the extra entry on that line and restarted ispconfig and everything is ok.

Last edited by PermaNoob; 10th February 2010 at 19:11.
Reply With Quote
Sponsored Links


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
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
Security problem 2 ???? the revenge :) albertux Installation/Configuration 2 22nd September 2009 19:44
Mail Log Question - Is This Normal gwiz Installation/Configuration 7 12th September 2009 04:09
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 20:37
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 17:37

All times are GMT +2. The time now is 10:57.

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