Can I change the default page that everyone see?

jeffery

Verified User
Joined
Jan 13, 2004
Messages
177
If I created a user, there will be a page showing "welcome to the home of 123.com".
Can I change this page such that every user I create defaultly see my new page??:p
 
Yes easy...

ssh/ftp into your box. Go into the default folder and modify the file as you see fit.
 
I mean I want to have it automatically changed whenever I create a user??? :D
 
That is the file to edit. It will automatically change when a new website is created. Just look for the |Domain Name| looking tag. I forgot the exact syntax but it will stand out if you know anything about HTML.
 
Hello,

Just a followup:

path to default directory:

/home/resellername/domains/default

all files in the default directory will be copied to the public_html. If there is an index.html file, it will be "tokenized", ie: tokens swapped with values (domain, name, etc)

John
 
DirectAdmin Support said:
Hello,

Just a followup:

path to default directory:

/home/resellername/domains/default

all files in the default directory will be copied to the public_html. If there is an index.html file, it will be "tokenized", ie: tokens swapped with values (domain, name, etc)

John

What about the actual servers owner, is the reseller name "admin" then? I want every site I setup to have my default page unless it is changed.

Thanks,
Phil
 
Remember, admin is a Reseller too, so:
/home/admin/domains/default

There is also the *server* default for new Resellers:
/usr/local/directadmin/data/templates/default

The server default will be overwritten with updates, so be sure to make backups ;)

John
 
Back
Top