• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Websites not showing up

N

new2linux

Guest
I uploaded a website to the httpdocs folder provided by Plesk, yet the page that comes up seems to be the noindex.html page in the /var/www/error folder. I am using RedHat 9.0 OS. Prior to installing Plesk reloaded 7.5, the webpage served up just fine. Any suggestions?
 
Is the file called index.html? It needs to be called one of the filenames in /etc/httpd/conf/httpd.conf "DirectoryIndex" list.
 
yes, I replaced the placemark index file with the website index file.
 
I could see the placeholder prior to this, yes....and yes, I rebooted the server....
 
yeah, the problem is what cranky said.
It needs to be called one of the filenames in /etc/httpd/conf/httpd.conf "DirectoryIndex" list.

you can override this setting by creating a text file in the root of your httpdocs called ".htaccess"
it should say:

DirectoryIndex index.html

your server is working, and site loads when you go to the index file directly
http://www.acrescorp.com/index.html

note, you dont need to reboot the server, simply starting and stopping or restarting the apache service should be sufficient

here is some help on .htaccess files if you need it
http://www.twsc.co.za/htaccess.php
 
I went into /etc/httpd/conf/httpd.conf and found the following at the end:

<Directory "/">
Options FollowSymLinks

AllowOverride None

</Directory>

#<Directory "/var/www/html">
<Directory "/home/httpd/vhosts">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all

Order allow,deny
</Directory>

LoadModule suexec_module modules/mod_suexec.so

Include /etc/httpd/conf/httpd.include
AddType text/html .shtml


Where do I make the changes??
 
nevermind...I figured it out...you guys rock!! thanks...
 
Back
Top