Eminos
Junior Member

Posts: 144
Joined: Jan 2007
Reputation: 0
|
How does ispCP work underneath ?
Hi,
I'd like to know how ispCP actually works underneath.
There are these "backup, parts, working" files and directories that store the settings and stuff, but I never took time to figure it out how it actually works.
Maybe someone could guide us noobs a little bit through this.
For example, what does actually happend when you add a new domain from the control panel? Where is it added? What roll does the database have? And how should you make manuall changes to stuff if you don't want them to be overwritten the next time you make a change in the control panel?
How does it all connect to each other?
Thanks
/E
|
|
| 02-11-2008 09:19 AM |
|
Eminos
Junior Member

Posts: 144
Joined: Jan 2007
Reputation: 0
|
RE: How does ispCP work underneath ?
Oh, alright !
So whenever a change is made from the control panel it's first made in the working directory files, and then copied to the right place?
Ok now it makes sence why one has to make a change in this "working-file" as well if you want the change to persist
|
|
| 02-11-2008 09:31 AM |
|
Eminos
Junior Member

Posts: 144
Joined: Jan 2007
Reputation: 0
|
RE: How does ispCP work underneath ?
Haha, I get your point RatS, and to some point I agree with your quote.
Anyway, it's nice to have you guys answering the quesions here, this forum is some kind of documentation.
I'm wondering this.
If I want to make a change to, let's say the zonefile admin.domain.com.db, only to that domain/zonefile, is it enough that I make the change to the working file (and the actual var/cache/bind file), or will the working file be overwritten when I make a change in the control panel? If I change the parts files (template files), ALL my domains will be overwritten from the templates, am I right? And I only want to make a persistant change to ONE domain/zonefile.
/E
(This post was last modified: 02-11-2008 09:49 AM by Eminos.)
|
|
| 02-11-2008 09:49 AM |
|
joximu
Moderator
    
Posts: 3,889
Joined: Jan 2007
Reputation: 47
|
RE: How does ispCP work underneath ?
Eminos Wrote:Haha, I get your point RatS, and to some point I agree with your quote.
Anyway, it's nice to have you guys answering the quesions here, this forum is some kind of documentation.
I'm wondering this.
If I want to make a change to, let's say the zonefile admin.domain.com.db, only to that domain/zonefile, is it enough that I make the change to the working file (and the actual var/cache/bind file), or will the working file be overwritten when I make a change in the control panel? If I change the parts files (template files), ALL my domains will be overwritten from the templates, am I right? And I only want to make a persistant change to ONE domain/zonefile.
It's a combination of the parts/*.tpl files and the working files.
for a new domain you need some new files: base = several tpl files, then you also need to put some lines in a already existing files:
base = working version of existing file + some tpll files for the new content.
If you regenerate the config (all domains to "change"), then the tpl files are the base for all domains...
I hope it's happening this way - but it seems plausible :-)
2008-08-05 ispCP RC6 released!!!
|
|
| 02-11-2008 10:04 AM |
|