Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2005, 21:11
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default IP server popup unwanted domain

hi guys,
I've setup couple of website on my server but if I type the server ip in browser, it will popup the first domain sorted alphabetically, which I want to change that to my server homepage.

how?

thanks
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2005, 21:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,656 Times in 4,464 Posts
Default

Quote:
Originally Posted by Hellbound
hi guys,
I've setup couple of website on my server but if I type the server ip in browser, it will popup the first domain sorted alphabetically, which I want to change that to my server homepage.

how?
When you have no matching name based vhost, apache will show the first site it finds for the doamin. To have a global default for this case, you can add a default vhost to your httpd.conf before the line:
Include /etc/apache/vhosts/Vhosts_ispconfig.conf:

<VirtualHost 192.168.0.1>
ServerAdmin webmaster@yourdomain.com
DocumentRoot /path/to/your/company/website/
</VirtualHost>

Dont forget to change the IP, emailaddress and path
Reply With Quote
  #3  
Old 16th September 2005, 21:53
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

thanks alot
that did the job.
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
configure as a secondary mail server xma General 6 15th February 2006 14:46
Server can't "see" the internet Luciano Installation/Configuration 8 23rd August 2005 00:22
DNS Server not responding tmoore Installation/Configuration 4 18th August 2005 19:59
Maildir / Server Settings m u r Installation/Configuration 3 18th August 2005 11:53
Server Migration adamluz Feature Requests 0 15th August 2005 21:54


All times are GMT +2. The time now is 19:15.


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