HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   stuck on default welcome page (http://www.howtoforge.com/forums/showthread.php?t=53691)

jasona 6th August 2011 22:06

stuck on default welcome page
 
Hi everyone,

I have installed ISP Config 3 following the perfect install to debian squeeze with no apparent problems. After install, I added a website through the admin console logged in as admin.

I get the Welcome to your website! page. When I upload a website via ftp I cannot seem to get past this page. If I so to www.domain/sometingelse.html I get a 404. If I rename the index.html and put a different one I get a page that says something along the lines of "your webmaster has not added content"

I've been searching these boards and google, and pouring over the manual I purchased for several hours and am coming up blank. Can someone point me in the right direction.

thanks,

Jason

pititis 6th August 2011 22:12

Files must have the right owner and permissions. Can you post a ls -la from your web/ directory??

jasona 6th August 2011 22:34

here it is. This issue happens for any website I create.

Code:

root@Websrv1:/var/www/clients/client1/thealvarados.com/web# ls -la
total 28
drwx--x--- 5 web1 client1 4096 Aug  6 18:30 .
drwxr-x--x 6 web1 client1 4096 Aug  6 18:17 ..
-rw-r--r-- 1 web1 client1  429 Aug  6 18:26 Home.html
drwxr-xr-x 2 web1 client1 4096 Aug  6 18:17 error
drwxr-xr-x 5 web1 client1 4096 Aug  6 18:26 htdocs
-rwxr-xr-- 1 web1 client1 1861 Aug  6 18:17 index.html
drwxr-xr-x 2 root root    4096 Aug  6 18:17 stats
root@Websrv1:/var/www/clients/client1/thealvarados.com/web#


falko 7th August 2011 13:49

/var/www/clients/client1/thealvarados.com/web has the wrong permissions. Please try
Code:

chmod 755 /var/www/clients/client1/thealvarados.com/web
chmod 755 /var/www/clients/client1/thealvarados.com/


jasona 8th August 2011 13:45

I tried this and it didnt seem to get any different results. Here's what I ran and what ther permissions look like now
Code:

root@websrv1:/var/www/clients/client1/thealvarados.com/web# chmod 755 /var/www/clients/client1/thealvarados.com/
root@websrv1:/var/www/clients/client1/thealvarados.com/web# chmod 755 /var/www/clients/client1/thealvarados.com/web
root@websrv1:/var/www/clients/client1/thealvarados.com/web# ls -la
total 28
drwxr-xr-x 5 web1 client1 4096 Aug  8 10:38 .
drwxr-xr-x 6 web1 client1 4096 Aug  6 18:17 ..
-rw-r--r-- 1 web1 client1  429 Aug  6 18:26 Home.html
drwxr-xr-x 2 web1 client1 4096 Aug  6 18:17 error
drwxr-xr-x 5 web1 client1 4096 Aug  6 18:26 htdocs
-rwxr-xr-- 1 web1 client1 1861 Aug  6 18:17 index.html
drwxr-xr-x 2 root root    4096 Aug  7 00:30 stats
root@websrv1:/var/www/clients/client1/thealvarados.com/web#


till 8th August 2011 14:00

The previous permissions were correct, so there was no need to change them. You get the default index pahe bevcause the new index page you uploaded has a wrong name.

Please deleete the file index.html that is currently in the web directory and rename you "Home.htm" page to "index.html". On Linux servers, the homepage is named index.htm or index.html and not Home.htm like on windows servers. Additionally, it matters on Linux if you bame a file in upper or Loewercaee as these are different filenames. So it is recommended that you name you files alwas lowercase.

jasona 8th August 2011 14:05

Thanks for the responese. That was one of the steps I tried. What I was doing ws renaming index.html to _index.html. In this instance did what you recommended and now the page says:

Code:

This site is under development
 This is a default template, indicating that the webmaster has not yet uploaded a Web site to the server.
 
For information on how to build or upload a site, please visit your web hosting company's site.


Any ideas?

-Jason

till 8th August 2011 14:11

Ok, so the text that you see in the browser has changed? Then you did the right thing and renamed the correct page.

jasona 8th August 2011 14:15

The text did change. But it is now some sort of default webpage from apache or ispconfig? It's definately not the page that was created.

It has the text above, plus like a relate items search page.

till 8th August 2011 14:16

Please post a screenshot of that page. No default page from ispconfig has a search function inside.


All times are GMT +2. The time now is 18:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.