Post Reply 
All subdomains suddently redirect to parent site?
Author Message
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #1
Question All subdomains suddently redirect to parent site?
I'm having this new and strange problem, it seems that a part of my configuration is no longer active...

I have a number of subdomains configured that where running perfectly before, and now after some system maintenance all the subdomains display the parent/htdocs website instead of the parent/subdomain/htdocs/ content

I checked the dns entry and it's unaltered, but don't quite know what might be causing this issue?

Strange detail: admin.server.com does still work, but all other subdomains are no longer working.

all help is appreciated!

greetings,
Rik

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
(This post was last modified: 02-21-2008 08:27 AM by psygarden.)
02-21-2008 08:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #2
RE: All subdomains suddently redirect to parent site?
When i look at my apache2/sites-enabled/ispcp.conf there is no record of any of the subdomains (except for the admin.domain.com)? They are listed in the admin panel though...

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
02-21-2008 08:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #3
RE: All subdomains suddently redirect to parent site?
ispCP debugger

Quote: Domain errors
No domain system errors

Domain alias errors
No domain alias system errors

Subdomain errors
No subdomain system errors

Mail account errors
No email account system errors

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
02-21-2008 08:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
Moderator
*****

Posts: 3,895
Joined: Jan 2007
Reputation: 47
Post: #4
RE: All subdomains suddently redirect to parent site?
Well - semms to be messed up. The question is why?

You have some ispcp-backups of the apache config. You could need them to add the vhosts in the apache-ispcp.conf.
Or try this: set the status-field in the ispcp-DB of all domains to "change" and let the request manager run.
See also recreation of config files.

/J

2008-08-05 ispCP RC6 released!!!
02-21-2008 09:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #5
RE: All subdomains suddently redirect to parent site?
Where do i find those backups? (assuming they are created automatically?)

When i delete and then recreate a subdomain it's working again. it's a possibility but would require me to manually re-import all files and databases after backing them up...

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
02-21-2008 06:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
Moderator
*****

Posts: 3,895
Joined: Jan 2007
Reputation: 47
Post: #6
RE: All subdomains suddently redirect to parent site?
/var/www/ispcp/backup

and the custome files should also be backed up - maybe this helps to...

Also try the one with the "status" in the ispcp table

2008-08-05 ispCP RC6 released!!!
02-21-2008 07:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #7
RE: All subdomains suddently redirect to parent site?
I was able to fix the issue by putting back a backup of the ispcp.conf files in apache2/sites-available

So that fixed the issue for now.

Still i'm very curious to find out what might have caused the issue... :/

Thanks!

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
02-21-2008 09:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****

Posts: 3,203
Joined: Jan 2007
Reputation: 42
Post: #8
RE: All subdomains suddently redirect to parent site?
Quote:and now after some system maintenance
Did you changed your templates ?

Greez BeNe

[Image: ispcpsw.png]
Ein Betriebssystem ist immer nur so gut und sicher wie der Administrator der es verwaltet.
Wie gut der Administrator jedoch seine Fähigkeiten ausspielen kann, legt das Betriebssystem fest.
-> Linux rulZ!
02-21-2008 10:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
Moderator
*****

Posts: 3,895
Joined: Jan 2007
Reputation: 47
Post: #9
RE: All subdomains suddently redirect to parent site?
psygarden Wrote:.. and now after some system maintenance

psygarden Wrote:Still i'm very curious to find out what might have caused the issue... :/

well - what do you mean with "system maintenance"?

2008-08-05 ispCP RC6 released!!!
(This post was last modified: 02-21-2008 10:43 PM by joximu.)
02-21-2008 10:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #10
RE: All subdomains suddently redirect to parent site?
I did update a few components and installed some new apps with apt-get, but i didn't notice any of the installers referencing the apache configuration...

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
02-22-2008 04:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


| All rights reserved : isp-control.net |