View Single Post
Old 11 Jan 2007, 02:37 PM   #3
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,926
Arrow Virtual Domain Activation

The details on some of this changed in December, 2006. The new instructions are at:
Virtual Domains FAQ
Below I will describe the exact details of making this work, step by step. I have included some explanatory remarks so you can understand what you are doing.

There are different ways to make the switch to Fastmail for both your email (MX record in your DNS) and your website (A record in your DNS). In your situation, where you have both a website and email you want to point to Fastmail, the easiest thing to do is to change the Domain Name Servers entry (the two rows at the bottom of the screen you posted) to point to Fastmail rather than freedom2surf. After you do this, the other entries on the registrar setup screen (for MX and A records) will be ignored, since these values will be coming from the Fastmail DNS server, which sets them up automatically for you.

I have tried to set this out in a linear fashion below the exact steps you need to follow to get up and running. This is to perform what is shown in the FAQ link above:
"What do I set the DNS for my domain to to have both email and websites hosted with you?"

(1) First go to the Fastmail Options > Virtual Domains screen and enter your domain name in the bottom (Virtual Domains) section of the page. So in the Domain column enter "mydomain.com". Leave the Active column set to the default (Waiting for DNS) setting. I would leave the Subdomain? column set to the default setting. Click on Add to the right of the new row you just entered.

(2) Now you need to add a Virtual Alias at the top section of that same screen. I would start with entering "*" (asterisk character) in the Name column, then you will have only one choice for the domain (the new domain you entered a moment ago), and you can start by leaving the Target at the default value (your Fastmail account email address). Click on Add at the right end of that row and be sure that Active is checked.

(3) Click Done at the top of the Virtual Domains screen when finished. What we just did was to tell Fastmail what personal domain you want to use, that it's still waiting for DNS (we will fix that in the next step at your registar's website), a subdomain addressing detail we don't need to worry about right now, and finally that you want incoming emails sent to anything@mydomain.com (because of the wildcard character *) to be targeted (delivered) to the Inbox at your normal Fastmail address.

One more detail about the Virtual Aliases screen: If you set (as I just described) *@mydomain.com to target username@fastmail.xxx, then any email sent to your domain (with any username before the @) will go into your Inbox. But let's say that you want to set up email folders for Bob, Sue, and Jerry -- and direct their addressed mail to those folders. There are three ways to do this (executed in the order shown, as far as I can determine):
  • Enter Virtual Aliases, such as bob@mydomain.com targeting username+bob@fastmail.xxx.
  • Set up a Virtual Alias of *@mydomain.com targeting username+*@fastmail.xxx. Now if an email arrives for sue@mydomain.com (upper/lower case are ignored), then it will be filed in the Sue (case ignored) folder. If there is no such folder, it will be filed in your Inbox.
  • Use Rules to force certain messages to be filed in certain folders. The Rules have the final say, and can override what the aliases screen says to do (for internal folders).
(4) Now that the Fastmail screens are ready for the changeover, it's time to enter the following two names (from the FAQ link) into the two rows at the bottom of your registar's DNS setup screen in the Domain Name Server Name column:
Code:
ns1.messagingengine.com
ns2.messagingengine.com
I'm guessing how their screen works, but you probably need to clear out the "Domain Name Server IP Addresses" values, then click Update after each row. This causes the registrar to tell the rest of the Internet (eventually -- this can take a few hours to make it everywhere) that when your domain name is used for email or web addressing (including HTTP or FTP addressing), then the server that can supply the numeric address (from a lookup table) is ns1.messagingengine.com (run by Fastmail), and if this fails then the backup is ns2.messagingengine.com.

(5) To check on proper DNS upgrading, go to the Fastmail Virtual Domains page again, and look in the bottom right (end of the Virtual Domains section). Click on Update at the lower right of the screen. When Fastmail sees that the change from your registrar has propogated to Fastmail, then the Active column for your domain should change to Email & Web. You might need to wait a few minutes for this to update, but in extreme cases it might take up to a couple of hours to see this change. You will have to click Update to redraw the screen to make it visible. When active and propogated through the Internet, email to your domain will come to your Fastmail account as you specified on the Virtual Aliases screen. You can even set it to send gmail@mydomain.com email to your gmail account by setting up a name and target. Very cool!

(6) The web settings are all in the Files screen. First you need to create subfolders as needed with the Action tool. Then upload your HTML code (with the filename extension .html) into whatever directory you wish, using the web upload feature on that screen, FTP, or DAV file transfer. Now click on the Websites button (upper right corner of the screen) and create the website name you wish (it could be http://mydomain.com or http://joe.mydomain.com) and the target folder containing the HTML code. You probably want to publish as Files Only. Click on Add Website and you should see it in the table above. Make sure it's checked Active and it will be on the web instantly. If the code you uploaded had the filename index.html, then a browser pointing to http://mydomain.com will see your website. As you can tell on this screen, you can map various website names (from Fastmail aliases and your domain) and prefixes (http://weather.mydomain.com) or subfolders (http://mydomain.com/newstuff) into any folder in the Files area. You can also upload photos and make them automatically visible in web pages at your domain.

Sorry this was so long, but I thought it useful to go into the gory details. The virtual domain and files features of Fastmail are fantastic!

Edit based on Rob's comments later in this thread:
Fastmail now automatically sends an email to people when their domain activates. This is new -- previously they didn't, it just activated silently and you had to go to the screen to check. So it's easier these days just to wait for the email.


Bill

Last edited by n5bb : 12 Mar 2007 at 07:37 AM.
n5bb is offline   Reply With Quote