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 10th March 2008, 21:14
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
Default ISPConfig won't host website but not mail

OK, let me explain!

I have a domain I've just started to host for a friend.

His website will be hosted on one of my ISPConfig boxes. His mail, however, needs to go direct to his exchange server, via the MX record. (There is a backup MX record in place so should all be fine).

I can't seem to find a way to create a virtual host for web, without it sticking an annoying entry in /etc/postfix/local-host-names for it as well, and creating an e-mail address for the website user. Oh - my ISPConfig box is hosting primary DNS too.

It's usually very helpful, but in this case, it actually means I can't do what I want!

Anyone know of a workaround? I had thought of creating the website under a dummy name, and putting ServerAlias directives in the "Apache Directives" area of the host config, which would work, but surely there's a better way?

Thanks in advance,

Neil
Reply With Quote
Sponsored Links
  #2  
Old 10th March 2008, 21:48
daveb daveb is offline
Senior Member
 
Join Date: Dec 2006
Location: St Louis Mo
Posts: 272
Thanks: 43
Thanked 41 Times in 37 Posts
Default

Did you try to select external mailserver under the options tab for the site via the control panel.
Reply With Quote
  #3  
Old 10th March 2008, 22:40
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
Default

That's a good thought actually, I hadn't spotted that.

Still no joy though.

If I add even just the site to ISPConfig, even without creating a user, even with that option selected, then it adds the domain to the local-domain-names file in /etc/postfix, whether I like it or not!

That, of course, means that any mail being delivered locally from the machine to that domain (like, from me for example!) will be incorrectly routed.

Any other ideas?

Many Thanks,

Neil
Reply With Quote
  #4  
Old 10th March 2008, 23:05
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
Default

Did you also set the co-domain to external Mail-Server. if you create www.example.com the co-domain example.com will be automaticly created.
Reply With Quote
The Following User Says Thank You to jnsc For This Useful Post:
zetnsh (11th March 2008)
  #5  
Old 11th March 2008, 06:44
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
Default

You have just been upgraded to genius status!

That was spot on. I hadn't even seen that there was an external mailserver option for the co-domains as well. It's now set up and working just how I need it to be.

You know - I've used my own server management system (which was perfect of course(!), but copyright to my previous employer!) and I've used Cpanel/WHM (urgh). I've not yet found anything of note I can't do in ISPConfig. Why the whole world doesn't use it, I'll never know!

Thanks once again.

Neil
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
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
ISPConfig DNS and virtual host configuration tips and problem Ripper Installation/Configuration 6 26th June 2007 00:29
SMTP relay trouble DVS General 3 11th June 2007 09:56
Mail for one virtual domain works but not another Craig Server Operation 1 27th April 2007 07:16
External mail server with gmail MX service adrenalinic Installation/Configuration 20 24th April 2007 14:49


All times are GMT +2. The time now is 16:59.


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