• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

setting default documets

bdee1

Basic Pleskian
i am relatively new to linux/plesk and i just got a dedicaed server set up with plesk 7.5.4 on centOS. one of the things i am trying to figure out is how to change the default dcuments for a site. for instance, if you go to www.mytestdomain.com it will automatically load the inde.html file in that folder. what if i want to change it so that it automatically loads the index.cfm file? where do i go in plesk to do that?
 
i have a couple questions about that.

the skeleton management button is on the client screen. so what if the client has 2 or more domains? does that mean that my default document settings apply to all my domains? there has to be a way to change this setting for each domain right?

also, let em just make sure i understand how this works - if i go into skeleton management right now and then into the httpdocs folder, there is an index.html file which is the default. but what if i want to have have index.cfm be the default, then if index.cfm is not found, it looks for index.php, and if thats not found it looks for index.htm?

would i just put those 3 documents in the httpdocs folder? if so, how do i set the priority for each?
 
yea i have already seen that document and i am still unclear on how this works. I mean i understand how to create and upload a skeleton, but what i dotn understand is how to do what i explained earlier:

setup my httpdocs folder so that when i visit it in a web browser it will look for a .cfm file and if not found then a .php file and if not found then a .htm file.

basically i don't get how to set that priority level. in my skeleton if i have a index.php and index.cfm and an index.htm i assume that those are the 3 default files that it will look for but how do i set the order in which it looks for them?
 
Go to /etc/httpd/conf/httpd.conf and add the extensions you want in the order you want. Here is my line:

DirectoryIndex at_domains_index.html index.html index.html.var index.shtml index.cfm index.asp index.$

Be sure to restart httpd so that the changes take effect.
 
thank you - thats what i was looking for. so there is no way to do this via plesk though huh?
 
Back
Top