#1  
Old 6th October 2007, 12:59
sefokuma sefokuma is offline
Junior Member
 
Join Date: May 2007
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Vhosts and shared ip

Hi, i´m using ispconfig 2.2.17 my poblem is the next:

When i add a new site for a client i dont know how to redirect this to a url. I am using a 1 ip address for all vhosts. For example, i create a web site for a client and it is saved in /var/www/webx, ispconfig write vhosts apache file and when i try to enter in the site always appear error: shared ip.

How can i change this? I tried to use a subdomains example webn.domain.com but dont run...

Any idea?

Thanks, and sorry for my english.
Reply With Quote
Sponsored Links
  #2  
Old 7th October 2007, 19:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Can you post the contents of your Vhosts_ispconfig.conf and the output of
Code:
ifconfig
?
__________________
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
  #3  
Old 8th October 2007, 19:38
sefokuma sefokuma is offline
Junior Member
 
Join Date: May 2007
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Yep falko.

Code:
eth0      Link encap:Ethernet  HWaddr 00:30:48:78:66:68
          inet addr:89.140.48.30  Bcast:89.140.48.255  Mask:255.255.255.0
          inet6 addr: fe80::230:48ff:fe78:6668/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8007144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:821391 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:654117205 (623.8 MiB)  TX bytes:128986614 (123.0 MiB)
          Interrupt:19 Base address:0x4000
89.140.48.30 is the internet address too.

Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 89.140.48.30:80
<VirtualHost 89.140.48.30:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 89.140.48.31:80
<VirtualHost 89.140.48.31:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: asoc1.linux-malaga.org:80
######################################
#
#
<VirtualHost 89.140.48.30:80>
ServerName asoc1.linux-malaga.org:80
ServerAdmin webmaster@linux-malaga.org
DocumentRoot /var/www/web6/web
ServerAlias linux-malaga.org
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/web6/log/error.log
Alias /error/ "/var/www/web6/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/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
#
#
Any idea, i dont know why write the first vhost to shareip....:S

Thanks.
Reply With Quote
  #4  
Old 9th October 2007, 22:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Looks ok.

I don't get the Shared-IP page when I go to http://asoc1.linux-malaga.org/ . Everything seems to be ok.
__________________
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 10th October 2007, 13:12
sefokuma sefokuma is offline
Junior Member
 
Join Date: May 2007
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Nop, if you see prweb.linux-malaga.org and asoc1.linux-malaga.org are the same pages....The shared ip dont appear because i have comment the share ip line config in vhosts.conf

?
Reply With Quote
  #6  
Old 11th October 2007, 17:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

What exactly is the problem now? That prweb.linux-malaga.org points to the same web site as asoc1.linux-malaga.org?
__________________
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
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
Shared IP Address bswinnerton Installation/Configuration 5 10th September 2007 19:59
Help! Websites not being created in Vhosts file punto Installation/Configuration 8 5th August 2007 11:23
ISPConfig doesn't create new Vhosts steven_twente Installation/Configuration 5 3rd October 2006 14:16
apache vhosts messed up whitty Installation/Configuration 9 4th June 2006 10:38
Shared IP - can't see my new site. erikturk Installation/Configuration 3 24th May 2006 07:49


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


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