"To change this page, upload your website into the public_html directory"

anyo1982

New member
Joined
Oct 27, 2012
Messages
1
Hi all

I am a new DirectAdmin user and experienced cpanel site builder.

I have sucessfully added my domain and installed wordpress on my site.

I can login my dashboard, add posts etc.

However when I visit my site and try to see the posts I made and the main page, always get the same message.

"Welcome to the home of xxxxx.com

To change this page, upload your website into the public_html directory"


All wordpress instalation IS on public_html directory

So I tried to copy all the worpress files to public_ftp (I had no idea what would happen, just wanted to try) still nothing.

I have copied all wordpress files to root directory of domain too, still nothing.


What else can I do? Why do I get that message?

My hosting account has "Admin Level" and "User level" (if that matters) and I have done it all under "user level"


Thanks in advance for any help, I am totally stuck.

I have contacted directadmin support and I am waiting for their reply, but can´t wait to update and upload contet to my sites!

Thanks
 

AE86

Verified User
Joined
Apr 10, 2011
Messages
22
You can change this behavior by editing the file /etc/httpd/conf/httpd.conf. Open it with your favorite editor like vi or nano and change the line:

Code:
<IfModule dir_module>
    DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>
to:

Code:
<IfModule dir_module>
    DirectoryIndex index.php index.html index.htm index.shtml index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>
That way, index.php will be handled before the index.html.
 

VRG

New member
Joined
Apr 10, 2020
Messages
2
Location
Vietnam
PLease, tell me detaily - STEP BY STEP for :

To change this page upload your website into the public_html directory" WordPress Install

Dr. Nguyen Van Duc ( PhD)
Tel : +49 1525 6433 439
 

VRG

New member
Joined
Apr 10, 2020
Messages
2
Location
Vietnam
PLease, tell me detaily - STEP BY STEP for :

To change this page upload your website into the public_html directory" WordPress Install - this is information from my bank BBVA when I open Bank Website : http://www.banbva.com to log in my Account to use the banking online internet

Dr. Nguyen Van Duc ( PhD)
Tel : +49 1525 6433 439
 

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
403
Location
UA
PLease, tell me detaily - STEP BY STEP for :

To change this page upload your website into the public_html directory" WordPress Install - this is information from my bank BBVA when I open Bank Website : http://www.banbva.com to log in my Account to use the banking online internet

Dr. Nguyen Van Duc ( PhD)
Tel : +49 1525 6433 439
Just remove index.html because WP uses index.php
 
  • Like
Reactions: VRG
Top