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=16)
-   -   ISPconfig to host multiple domains in one IP with multiple DynDns addresses (http://www.howtoforge.com/forums/showthread.php?t=5041)

agelospanagiotakis 20th June 2006 23:05

ISPconfig to host multiple domains in one IP with multiple DynDns addresses
 
Can i use ISPconfig to host multiple domains in one IP with multiple DynDns addresses ?

how can i make the panel work on these domains for example a.homelinux.org , a.homelinux.org

I have thse multiple domains pointing throgh DynDNS to my dynamic ip.

I use a [k] ubuntu 6.06 "perfect setup" with ISPConfig with work perfectly
under https://a.homelinux.org:81 or https://b.homelinux.org:81
how can configure ISPconfig to point to directory
/var/www/web1/web/ for http://a.homelinux.org
/var/www/web2/web/ for http://b.homelinux.org

adamluz 21st June 2006 00:22

Set each one up as a domain

a.homelinux.org
b.homelinux.org

ISPConfig will auto create the folders and the config.

They will be accessable under www.a.homelinux.org and a.homelinux.org

agelospanagiotakis 21st June 2006 01:38

how to do this ?
 
Hostname: www ????
Domain:a.homelinux.org

i tried it creates the folder but when i acces it i get for
http://www.agelospanagiotakis.homelinux.org/
server not found!

and for
http://agelospanagiotakis.homelinux.org/
"Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403
agelospanagiotakis.homelinux.org
Wed Jun 21 01:34:49 2006
Apache/2.0.55 (Ubuntu) DAV/2 mod_ssl/2.0.55 OpenSSL/0.9.8a "

where is the log file of ISPCONFIG?
where is the vhosts file of ISPCONFIG?
so i can refer more ....

falko 21st June 2006 03:04

Quote:

Originally Posted by agelospanagiotakis
Hostname: www ????
Domain:a.homelinux.org

i tried it creates the folder but when i acces it i get for
http://www.agelospanagiotakis.homelinux.org/
server not found!

Because www.agelospanagiotakis.homelinux.org doesn't exist, only agelospanagiotakis.homelinux.org.

Quote:

Originally Posted by agelospanagiotakis
and for
http://agelospanagiotakis.homelinux.org/
"Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403
agelospanagiotakis.homelinux.org
Wed Jun 21 01:34:49 2006
Apache/2.0.55 (Ubuntu) DAV/2 mod_ssl/2.0.55 OpenSSL/0.9.8a "

where is the log file of ISPCONFIG?
where is the vhosts file of ISPCONFIG?
so i can refer more ....

What's in Vhosts_ispconfig.conf? That file is in /etc/httpd/conf or /etc/apache2/conf or similar.

agelospanagiotakis 21st June 2006 11:08

my http conf
 
the contents of
/root/ispconfig/httpd/conf/httpd.conf
contain the fgoolloing important lines
<IfDefine SSL>
<VirtualHost _default_:81>
ServerAdmin root@neomedia.homelinux.org
ServerName neomedia.homelinux.org
DocumentRoot "/home/admispconfig/ispconfig/web"
<VirtualHost _default_:81>
# General setup for the virtual host
DocumentRoot "/home/admispconfig/ispconfig/web"
ServerName neomedia.homelinux.org
ServerAdmin root@neomedia.homelinux.org
ErrorLog /root/ispconfig/httpd/logs/error_log
TransferLog /root/ispconfig/httpd/logs/access_log
SSLEngine on
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/root/ispconfig/httpd/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfDefine>

there are also too files
/root/ispconfig/httpd/conf/httpd.conf_https
and
/root/ispconfig/httpd/conf/httpd.conf_http

the file
/etc/apache2/httpd.conf
is empty ...anything it contains is some comments

how did him : visit ( www.whittyhost.us.to :) ) - please visit him ! ... did it with ISPconfig ?

till 21st June 2006 12:44

You posted the wrong hhtpd.conf. The ISPConfig webserver is not used to host your webpages. Please post the content of the file Vhosts_ispconfig.conf? That file is in /etc/httpd/conf or /etc/apache2/conf or similar that falko requested.

jeskimo5 22nd December 2006 00:57

different yet similar
 
My problem is that when I try to access my site, I get a page that says:
This IP address is shared. For access to the web site which you look for, enter its address instead of its IP. For questions or problems please contact the server administrator.

Does any one know how I may remedy this problem, btw, I am also using dyndns domains of the .homelinux.net sort.

till 22nd December 2006 13:26

Please make sure that you select the internal IP in the website settings, not the external IP.

jeskimo5 23rd December 2006 05:57

Here's this file if it answers your question. Sorry if I'm not more helpful but I'm rather new at this.

Obviously the website is jeskimo5.homelinux.net


root@jeskimo5:/etc/apache2/vhosts# vi Vhosts_ispconfig.conf
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.66:80
<VirtualHost 192.168.1.66:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.jeskimo51.homelinux.net/:80
######################################
#
#
<VirtualHost 192.168.1.66:80>
ServerName www.jeskimo51.homelinux.net/:80
ServerAdmin webmaster@jeskimo51.homelinux.net/
DocumentRoot /var/www/web3/web
ServerAlias
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web3/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web3/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
</VirtualHost>
#
#
#

till 23rd December 2006 13:06

Please remove the / at the end of the domain name in the website settings.


All times are GMT +2. The time now is 05:27.

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