#1  
Old 14th June 2012, 18:13
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default default landing page

Hi
Possibly an easy one..

I have 4 servers thor.tlsystems.co.uk, thor2.tlsystems.co.uk, thor3.tlsystems.co.uk and odin.tlsystems.co.uk

I can log in to the control panel.

When you go to http://thor3.tlsystems.co.uk or the IP 194.168.31.52 the default page is one of the sites i host.
It is running ispconfig3

What file do i need to edit to change the default landing page, preferably point it to my main domain ie, www.tlsystems.co.uk.

cheers

dave
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2012, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,723 Times in 2,563 Posts
Default

I think you need to create a default virtual host for that IP with no ServerName directive in it.
__________________
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 15th June 2012, 13:31
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default

thanks falko, i will try
Reply With Quote
  #4  
Old 15th June 2012, 15:08
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default

falko,

sorry for being silly, you said "I think you need to create a default virtual host for that IP with no ServerName directive in it. "

does that mean editing my httpd.conf and updating section 3 virtual hosts
i did do "/usr/sbin/httpd -S" and it showed all my virtual hosts, i have added 194.168.31.52 as a host in ispconfig control panel as a website, The output of "/usr/sbin/httpd -S" shows "default server 194.168.31.52 (/etc/httpd/conf/sites-enabled/100-194.168.31.52.vhost:7)"

do i edit /etc/httpd/conf/sites-enabled/100-194.168.31.52.vhost and remove the IP from ServerName?

dave
Reply With Quote
  #5  
Old 15th June 2012, 15:29
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Quote:
"do i edit /etc/httpd/conf/sites-enabled/100-194.168.31.52.vhost and remove the IP from ServerName?"
didnt work
Reply With Quote
  #6  
Old 15th June 2012, 16:45
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default

like this ?

Edit httpd.conf and before the line:
Include /etc/apache/vhosts/Vhosts_ispconfig.conf:

add
<VirtualHost 194.168.31.52>
ServerAdmin me@here.com
DocumentRoot /path/to/your/company/website/
</VirtualHost>


dave
Reply With Quote
  #7  
Old 16th June 2012, 15:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,723 Times in 2,563 Posts
 
Default

Try this: http://httpd.apache.org/docs/2.0/vho...s.html#default
__________________
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
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 14:51
User creating shoevring Developers' Forum 7 25th July 2010 10:17
amavis: (!!)WARN: all primary virus scanners failed, considering ba jariasca Installation/Configuration 13 20th April 2010 17:34
Admin Program for Virtual Users and Domains Postfix courier etc...(Ubuntu 8.04)? the1rob HOWTO-Related Questions 11 4th August 2009 04:54
Exim MTA dazblade Server Operation 4 16th July 2007 18:42


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


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