Hosting your web site on the BCA server: Important note
Posted: Fri 13 Jul 2012 12:26
This is an important note that should be read by all Groups/Organisations that are intending to run a web site on the BCA server. If you also operate mail forwarding from your domain, you should make sure that your web site and your mail forwarding both run on the BCA server, otherwise you may suffer from a range of obscure problems with your email. A typical scenario could be as follows...
Any email that is generated by the web server (e.g. from mailing lists, or from PHP scripts running on your web pages) has to work out where it needs to be sent. Normally it would query the DNS entry at domains-R-us but commonly web servers take a 'short cut'; they assume that your email is hosted on the same server and they do not bother to do a DNS look-up. As your email is not hosted on the BCA server, it doesnt know what to do with it and so it simply sends it into a default mailbox on the server. If you go to your BCA Control Panel and follow the links to webmail you can inspect your default mailbox and you'll find all your missing email there.
It is only mail generated on the BCA server that is affected by this. So your mail may work fine for months (or even years) until you - or anyone else who is running a site on the BCA server - decides to set up a mailing list, or to run a script on a web page (e.g. that emails an enquiry to you). There are two solutions to the problem...
So... BE WARNED.
- 1) You have registered a domain name mycavingclub.org.uk at domains-R-us and you have set up some mail forwarding there, as well. E.g. you arrange for mail sent to secretary@mycavingclub.org.uk to be forwarded to your personal email account.
- 2) You decide to set up a web site on the BCA server, so you go to your control panel at domains-R-us and tell it the IP address of the BCA server.
- 3) You decide not to take your email forwarding to BCA because it would be a pain to set it up again, so you leave it at domains-R-us. After all, why move it?
Any email that is generated by the web server (e.g. from mailing lists, or from PHP scripts running on your web pages) has to work out where it needs to be sent. Normally it would query the DNS entry at domains-R-us but commonly web servers take a 'short cut'; they assume that your email is hosted on the same server and they do not bother to do a DNS look-up. As your email is not hosted on the BCA server, it doesnt know what to do with it and so it simply sends it into a default mailbox on the server. If you go to your BCA Control Panel and follow the links to webmail you can inspect your default mailbox and you'll find all your missing email there.
It is only mail generated on the BCA server that is affected by this. So your mail may work fine for months (or even years) until you - or anyone else who is running a site on the BCA server - decides to set up a mailing list, or to run a script on a web page (e.g. that emails an enquiry to you). There are two solutions to the problem...
- Either You should move your email forwarding to the BCA server so that it is "local" to any actions performed by the web server.
- Or You should ask the BCA Webmaster to alter the "Email Routing" setting on his WHM / DNS_Functions / Edit_Zone page from "local" to "remote". This will force the server to do a proper DNS lookup on your data.
So... BE WARNED.