about my website plzz help

desibrown

New member
Joined
Dec 14, 2010
Messages
1
Dear People,

Just new to VPS and directadmin. I made reseller and user then added 2 domains. Ftp created folders like this /home/du***/domains/*****.com/

I have uploaded content to /home/du***/domains/*****.com/public_html

but still my site shows

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

there is no index.html & htm but there is index.php website is not reading it what could be the problem..

Please Help.

best regards
Babur
 
Make sure you change your DirectoryIndex to include index.php and others in your /etc/httpd/conf/httpd.conf file. Something similar to:
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi


When you say Ftp created those folders, do you mean you created those folder in an ftp client or did DirectAdmin create those folders for you when you added the domains? If you created them in the ftp client, then I would assume that DirectAdmin didn't add them as a virtual host and that the Apache server has no idea where to pick those files up from.

If they were created for you by DirectAdmin, then you may need to inspect your log files (/var/log/httpd/domains/$(domainname).error.log and/or /var/log/httpd/domains/$(domainname).log replace $(domanname) with the real domainname) for a clue as to where it is looking for those files.
 
Make sure you're requesting a page from the server, not cached one.
Use CTRL+F5 or CTRL+R in your browser.
 
Simple issue.


You may like to check for index.html once again. It may be found on the second page. That's the most likely issue.

Otherwise it's quite possible that your using some other domain's directory. You might want to check that .

If your getting this page, then of course there's an index.html file being read
 
Last edited:
Back
Top