#1  
Old 14th October 2005, 04:08
Lil'Brudder Lil'Brudder is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Question Server Hostname and ISPConfig

I'm using Fedora Core 4 and ISPConfig to setup a new server, and I've gone through the process a couple of times now (new Linux and new ISPConfig installs) in order to get to know how everything works. Well, I was hoping this last time was going to be my new production server, but I've got some bugs. I'm wondering if i need to start over again or if there is an easy solution to fix the problem.

During the Fedora install, I wanted to name my server, and assumed (i'm thinking now, incorrectly) that the hostname would be the server's 'name' so I named it (ie. bob). I finished the Linux and ISPConfig install, and everything runs except, now, when I'm in the ISPConfig Management, the 2 top navigation buttons don't show up. I get red x's instead of nav_lft.gif and nav_rgt.gif) The image links are being taken from https://bob.domain.com:81/design/default/nav_rgt.gif whereas all the other images used are being taken from https://www.domain.com:81/design/def...s/globus-0.gif, etc.

I wasn't too concerned, I was able to add clients/websites/whatever, but then noticed I couldn't access half of the items in Management. All of the non-working links are linking to 'bob.domain.com:81' whereas all the working links are linking to 'www.domain.com:81'.

So, my first thought was to setup a website for domain.com and then create a co-domain for 'bob'... but that didn't work. Then, looking through the forums, I saw instructions on how to change your hostname... so I changed it to 'www' instead of 'bob'. Well, I rebooted the server, but ISPConfig still thinks those links are going to 'bob.domain.com:81' instead of the new host www.domain.com:81.

This leads me to think that when I install ISPConfig, it created the custom Apache with hard links to the host 'bob' and now those things that are coded to bob don't work.

So, here is my question...
Should I just go ahead an do a new, fresh Fedora and ISPConfig install with the hostname 'www' to avoid this problem? Or, since I've already changed the server's hostname to 'www', can I remove ISPConfig and re-install it and it will fix the problem (will that completely remove the port 81 server and renew it)? Or, is there a simple config file in ISPConfig somewhere that I can just change 'bob' to 'www'?

Oh... just so you know, in ISPConfig Management, all the Settings and Status links all point to 'bob' so none of those work... it would have to be at the console that the modifications would have to be done.

Thanks.

Last edited by Lil'Brudder; 14th October 2005 at 07:32.
Reply With Quote
Sponsored Links
  #2  
Old 14th October 2005, 09:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Lil'Brudder
Or, is there a simple config file in ISPConfig somewhere that I can just change 'bob' to 'www'?
Yes, /home/admispconfig/ispconfig/lib/config.inc.php. Or you simply create a DNS A Record for bob.mydomain.com and point it to your ISPConfig box...
__________________
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 14th October 2005, 12:46
Lil'Brudder Lil'Brudder is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Thank you!

Thanks!

Editing that file was soooo much easier than the other alternatives. It worked great. It allowed the links in the management tree to work properly so I could edit the appropriate fields in the Server Settings to make those match the file I modified and the actual server settings I changed.

You guys are awesome!
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


All times are GMT +2. The time now is 08:44.


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