• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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