"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
 
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.
 
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
 
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
 
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
Hi @Suurbier
I deleted the file but now when I type in my url it shows the attached page, please help me....
 

Attachments

  • screenshot-www.creativewizkraft.com-2022.11.04-13_07_35.png
    screenshot-www.creativewizkraft.com-2022.11.04-13_07_35.png
    43.1 KB · Views: 13
Be aware you just can't move files with WP, there is a procedure for that.

Also, if you're not an admin or reseller you're on the wrong forum. This forum is only for Directadmin admins and resellers, not for hosting customers getting DA from their host. In that case the hosting provider should provide support.
 
Be aware you just can't move files with WP, there is a procedure for that.

Also, if you're not an admin or reseller you're on the wrong forum. This forum is only for Directadmin admins and resellers, not for hosting customers getting DA from their host. In that case the hosting provider should provide support.
@Richard G thanks for the advise!
 
Back
Top