For my rochesterfsc.org domain, my goal is to move my mail server from a shared Bluehost account to my own box on Linode. I set it up last week, but I couldn’t make the necessary changes in the Bluehost DNS so I re-enabled services at Bluehost temporarily. The MaiB server sat with all ports disabled (per the “Moving to a New Box” instructions) for a week while I transferred my domain name and DNS to Google. I was finally able to complete the transfer and set up my DNS at Google this afternoon.
sudo mailinabox to reopen the ports
If I do
dig mail.rochesterfsc.org I get the correct address. If I try going to mail.rochesterfsc.org in a browser it takes me to my old website. If I do
curl mail.rochsesterfsc.org or
curl <ip-address> I get:
<html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html>
I’m not sure where that’s coming from. I have checked the Nginx config and default page locations and I don’t see where it’s coming from. The index.html in
/home/user-data/www/default/index.html is the standard MaiB boilerplate.
This could very well be something I did to get services back to Bluehost temporarily, but I don’t remember doing anything. I’m going to continue digging and eventually rerun the MaiB installer. But in the mean time, any guesses where else I can look? Most of my work has been with Apache so I’m not real familiar with the ins and outs of Nginx.