Help - Search - Members - Calendar
Full Version: How to change default page for new domain?
The Planet Forums > Control Panels > Plesk
neij
When I create a new domain in Plesk (6.5, Win 2003) it creates an index.html containing

QUOTE
This is the placeholder for domain newdomain.com. If you see this page after uploading site content you probably have not replaced the index.html file.  

This page has been automatically generated by Server Administrator.


I know I can change the index.html file by simply uploading a different one via FTP, but is there any way I can change the default, so that it says something like "This website is being developed by Wonderful Webs Ltd"?

TIA

Neij
eddy2099
Check the Plesk forum. I am sure there is a template being used so it is an issue of finding it.

One thing you could do is to RDC into your machine, start up the 'Search' function in Windows 2003 and use it to search for some keywords you find in the Plesk initial index page then open that document and paste your customized contents in there and see if it works. Remember to keep a backup of the original file just in case.
mariman
This default index.html page is at:

/home/httpd/vhosts/.skel/0/httpdocs/

Just change it icon_smile.gif
eddy2099
That might be where it is located on a *nix server but he did mentioned he is using Windows.
uniacid
you want to change it for every new domain you add? is that what you mean?
neij
QUOTE (eddy2099)
Check the Plesk forum. I am sure there is a template being used so it is an issue of finding it.

One thing you could do is to RDC into your machine, start up the 'Search' function in Windows 2003 and use it to search for some keywords you find in the Plesk initial index page then open that document and paste your customized contents in there and see if it works. Remember to keep a backup of the original file just in case.


Thanks for the reply. I have looked on the Plesk forum and have now posted a query there. I have also searched in Windows as you suggest but can only find domain-specific files (i.e. the ones that have already been created, not the template that creates them).

Neij
neij
QUOTE (mariman)
This default index.html page is at:

/home/httpd/vhosts/.skel/0/httpdocs/

Just change it icon_smile.gif


Yes, this is what I want, but for the Windows version of Plesk. Thanks for your input!
neij
QUOTE (uniacid)
you want to change it for every new domain you add? is that what you mean?


Yes, that's right. When you create a new domain in Plesk, Plesk creates an index.html page saying "This is a placeholder blah blah blah". I want to have a page of my own creation come up when I create a new domain. I know I can just ftp in and replace the index.html file, but surely there must be a way to have Plesk create a "park" page automatically.

I'm quite happy to fiddle about in Windows to do this, as long as it works in Plesk afterwards.

Thanks for your input!
kharrazi
Well, I didn't do that before. But I think Plesk is creating it by the use of the skeletion option. If you have direct access to your Windows (like Remote Desktop), edit this file:
C:xxxvhosts.skel0httpdocsindex.html (xxx depends on your settings in Plesk which by default would be 'Inetpub' as defined by IIS.

If you open the index.html file you'll see the template. It would be:
-----------------------------------------------------------------------------------------------------
This is the placeholder for domain @domain_name@. If you see this page after uploading site content you probably have not replaced the index.html file.

This page has been automatically generated by Plesk.

-------------------------------------------------------------------------------------------------------
The additional help of plesk about creating skeletion may find some useful tips in sw-soft website at plesk-7-win-advanced-features-manual.pdf (skeleton creation).

Cheers,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.