Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th June 2006, 22:05
agelospanagiotakis agelospanagiotakis is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb 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
Reply With Quote
Sponsored Links
  #2  
Old 20th June 2006, 23:22
adamluz adamluz is offline
Member
 
Join Date: Aug 2005
Location: Burbank, California
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to adamluz Send a message via MSN to adamluz
Default

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
Reply With Quote
  #3  
Old 21st June 2006, 00:38
agelospanagiotakis agelospanagiotakis is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 ....
Reply With Quote
  #4  
Old 21st June 2006, 02:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st June 2006, 10:08
agelospanagiotakis agelospanagiotakis is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow 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 ?
Reply With Quote
  #6  
Old 21st June 2006, 11:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 21st December 2006, 23:57
jeskimo5 jeskimo5 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #8  
Old 22nd December 2006, 12:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

Please make sure that you select the internal IP in the website settings, not the external IP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 23rd December 2006, 04:57
jeskimo5 jeskimo5 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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>
#
#
#
Reply With Quote
  #10  
Old 23rd December 2006, 12:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
 
Default

Please remove the / at the end of the domain name in the website settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
Problems with domain and host name ispconfig 2.1.1 grantdutoit Installation/Configuration 8 6th April 2006 21:53
missing feature: email-aliases for multiple domains olaus Feature Requests 5 30th March 2006 12:07
host site at same domain as ISPConfig server? amoswright Installation/Configuration 2 13th January 2006 22:43
Multiple domains jysse Installation/Configuration 2 10th August 2005 11:22


All times are GMT +2. The time now is 17:57.


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