Current time: 11-25-2024, 04:07 PM Hello There, Guest! (LoginRegister)


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
(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...
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
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
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
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...
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
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
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!
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
*****
Moderators

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

Greez BeNe
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
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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"?
(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...
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:


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