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 12th December 2005, 20:11
jeanjacquesjeanjacques jeanjacquesjeanjacques is offline
Member
 
Join Date: Nov 2005
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Shared IP, where is the default page of my websites ?

Dear ISPconfig users,

I would like to manage 3 personal websites with my debian perfect setup and isp config.
Everything is fine excepted that i can't find the index.html page related to each of my website, when i do www.domain1.com inside my browser i arrive on the page telling me that i'm using a shared IP. When i try to go on the www.domain2.com i'm arriving on the same webpage entitled "Welcome !" Shared IP...
I had a look at the httpd.conf and the included file from ISPconfig dealing with the virtual host but i must say that i don't know where my webpages are.
I thought that each webpage related to a website was situated in the the folder /home/www/www.domain1.com/web/ but apparently not.

I am a bit lost could you help me ?

Thanks !

Reply With Quote
Sponsored Links
  #2  
Old 12th December 2005, 20:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

If you arrive o the shared IP page, then you configured your websites wrong. Please check that the IP that you selected for the websites in ispconfig is identical with the ip where the domain of the website points to! If you are in a NAT enviroment, the IP of the website must be your local IP address of the server.
Reply With Quote
  #3  
Old 12th December 2005, 21:53
jeanjacquesjeanjacques jeanjacquesjeanjacques is offline
Member
 
Join Date: Nov 2005
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok it's working partially now. Thank you till !
But now i have a big trouble, i have the same index.html for every website.
My environement is the following, a router with a public IP Adress is forwarding the port 80 to my debian perfect setup web server running ISP.
I have 3 websites but only one public adress.

Do i need to add some specific apache directives in order to be able to run 3 websites with one public ip adress ?

Best regards,
Reply With Quote
  #4  
Old 12th December 2005, 21:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Thats no problem. The vhosts in ISPConfig are namebased. You can have several hundred websites on the same IP in ISPConfig.

Just add 3 websites with 3 different domains and set as IP your internal Ip where you forwarded port 80.
Reply With Quote
  #5  
Old 12th December 2005, 22:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Did you use the FQDNs (e.g. www.domain1.com, www.domain2.com, ...) to access the web sites? Maybe it's you router that doesn't pass on the FQDNs to Apache (Apache uses name based vhosts in order to decide which web site it has to serve...).
__________________
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
default page for shared IP sc0ut Installation/Configuration 12 30th November 2005 00:11
Easy One - ISPConfig Default Holding Page mphayesuk General 1 27th November 2005 18:30
Default Welcome Page bigger_travis General 1 26th October 2005 22:56
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54
WHere is the default domain's web page? Bedevere Installation/Configuration 4 28th August 2005 20:14


All times are GMT +2. The time now is 14:11.


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