![]() |
New Site Shows Apache Default page not uploaded index.html
I am new to this and learning so please bear with me. I have mandriva 2006. I setup ispconfig. My router is assigned ip 216.144.242.27. The pc has a static ip of 192.168.4.2. I created a new site www.cjt-design.com. I set the ip address to 216.144.242.27. I did not set dns, because I have other dns already. This was an existing site, so I changed the zone file a record for www.cjt-design.com to 216.144.242.27. The propogation is still in progress, but I have been able to see that the page that comes up for www.cjt-design.com just shows "It Works" which is the default apache web page for the mandriva linux. I have uploaded an index page that is different through the web ftp. I have tried changing the ip address in the site settings to 192.168.4.2, but this made no difference. I tried to search, but perhaps don't know the right terms to search for. Any help is appreciated.
|
I got the same problem. It comes up with the apache2-default page instead of the "Welcome to ... !" page.
http://www.howtoforge.com/forums/showthread.php?t=2653 I searched anything related to "apache2-default", "vhost", etc... but didn't find a solution yet. |
Quote:
|
The file Vhost_ispconfig.conf is empty.
|
Upon further research I discovered that there were several files with date and time stamps in their names. I picked the newest one and put into the Vhost_ispconfig.conf file. I was then able to get the site. I tried adding another site but the conf file did not get updated. Again I copied from the file with the newest timestamp and both sites are up. What do I need to do to get this to update?
|
I have the same problem too and since I've reinstalled this machine ten times now I'm starting to get a bit desperate.
When I comment out Code:
RedirectMatch ^/$ /apache2-default/My Vhosts_ispconfig.conf is NOT blank and looks like it is in order. The file is also included in apache2.conf. I've followed the guide for "The perfect setup - debian sarge", but I get this same problem over and over. All looks good, nothing works. I will give you all the information you need if you feel like helping me with this. Thanks |
Quote:
After you've renamed one of these Vhosts_ispconfig.conf files with a date appended to Vhosts_ispconfig.conf, please run Code:
httpd -t |
Quote:
Code:
httpd -V |
httpd -V gives:
Server version: Apache/2.0.54 Server built: Sep 5 2005 11:15:09 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="" -D SUEXEC_BIN="/usr/lib/apache2/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" I found one error in the logs. Seems apache is looking in /var/www/web1 for the added site, but standard is /home/www..., isn't it? Changing that in ispconfig makes changes to the added site but I still only see a file listing, and it seems I end up at the server root, not in web1. Should I change it in apache? There's too many things to configure and I'm confused here. |
[root@cjt-design-server chris]# httpd -V
Server version: Apache/2.0.54 Server built: Jan 5 2006 11:10:01 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" [root@cjt-design-server chris]# |
| All times are GMT +2. The time now is 03:20. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.