robyoko
22nd September 2009, 02:57 AM
All,
Have a small problem. Have setup a server using the guide on howtoforge. Server name is server/mutoh-seikatsu/com. Then under ISPconfig I have set up the server as being reachable at rijken/homelinux/net. Have added a client site under the admin page and it set up the virtual host correctly, but whenever I access www/mutoh-seikatsu/com from the internet I get the standard fedora test page in /var/www/html, which is set as document root. When people access www/mutoh-seikatsu/com though they should be redirected to /var/www/web3/web
Here is the setup from webmin:
Default Server Defines the default settings for all other virtual servers, and processes any unhandled requests.
Address Any
Port Any Server Name Automatic
Document Root /var/www/html
Virtual Server Handles the name-based server localhost on address 122/249/2/10.
Address 122/249/2/210
Port 80 Server Name localhost
Document Root /var/www/sharedip
Virtual Server Handles the name-based server www/mutoh-seikatsu/com:80 on address 122/249/2/210.
Address 122,249,2,210
Port 80 Server Name www/mutoh-seikatsu/com:80
Document Root /var/www/web3/web
Virtual Server Handles the name-based server www/famrijkennet:80 on address 122/249/2/210.
Address 122/249/2/210
Port 80 Server Name www/famrijken/net:80
Document Root /var/www/web2/web
When I access www/mutoh-seikatsu/com I get redirected to the default server. Access log:
w21/jp-k/ne/jp - - [22/Sep/2009:10:24:02 +0900] "GET / HTTP/1.1" 403 3918 "-" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
w22/jp-k/ne/jp - - [22/Sep/2009:10:24:04 +0900] "GET /icons/apache_pb2.gif HTTP/1.1" 200 1797 "http://www,mutoh-seikatsu,com/" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
w22/jp-k/ne/jp - - [22/Sep/2009:10:24:04 +0900] "GET /icons/poweredby.png HTTP/1.1" 200 3034 "http://www,mutoh-seikatsu,com/" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
In Webmin I have set the following as well:
Networking and Addresses for www,mutoh-seikatsu,com:80:80
Lookup hostnames: Yes
Do RFC1413 user lookups: Default
Server admin email address: **@mutoh-seikatsu,com
Alternate virtual server names: mutoh-seikatsu,com server,mutoh-seikatsu.com
Server hostname: www,mutoh-seikatsu,com
Use hostname supplied by browser: Yes
Anybody got any idea what has been set up wrong?
Have a small problem. Have setup a server using the guide on howtoforge. Server name is server/mutoh-seikatsu/com. Then under ISPconfig I have set up the server as being reachable at rijken/homelinux/net. Have added a client site under the admin page and it set up the virtual host correctly, but whenever I access www/mutoh-seikatsu/com from the internet I get the standard fedora test page in /var/www/html, which is set as document root. When people access www/mutoh-seikatsu/com though they should be redirected to /var/www/web3/web
Here is the setup from webmin:
Default Server Defines the default settings for all other virtual servers, and processes any unhandled requests.
Address Any
Port Any Server Name Automatic
Document Root /var/www/html
Virtual Server Handles the name-based server localhost on address 122/249/2/10.
Address 122/249/2/210
Port 80 Server Name localhost
Document Root /var/www/sharedip
Virtual Server Handles the name-based server www/mutoh-seikatsu/com:80 on address 122/249/2/210.
Address 122,249,2,210
Port 80 Server Name www/mutoh-seikatsu/com:80
Document Root /var/www/web3/web
Virtual Server Handles the name-based server www/famrijkennet:80 on address 122/249/2/210.
Address 122/249/2/210
Port 80 Server Name www/famrijken/net:80
Document Root /var/www/web2/web
When I access www/mutoh-seikatsu/com I get redirected to the default server. Access log:
w21/jp-k/ne/jp - - [22/Sep/2009:10:24:02 +0900] "GET / HTTP/1.1" 403 3918 "-" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
w22/jp-k/ne/jp - - [22/Sep/2009:10:24:04 +0900] "GET /icons/apache_pb2.gif HTTP/1.1" 200 1797 "http://www,mutoh-seikatsu,com/" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
w22/jp-k/ne/jp - - [22/Sep/2009:10:24:04 +0900] "GET /icons/poweredby.png HTTP/1.1" 200 3034 "http://www,mutoh-seikatsu,com/" "SoftBank/1.0/930CA/CAJ001/SN356757020724089 Browser/NetFront/3.4 Profile/MIDP-2.0 Configuration/CLDC-1.1"
In Webmin I have set the following as well:
Networking and Addresses for www,mutoh-seikatsu,com:80:80
Lookup hostnames: Yes
Do RFC1413 user lookups: Default
Server admin email address: **@mutoh-seikatsu,com
Alternate virtual server names: mutoh-seikatsu,com server,mutoh-seikatsu.com
Server hostname: www,mutoh-seikatsu,com
Use hostname supplied by browser: Yes
Anybody got any idea what has been set up wrong?