OKmail FAQ - Virtual domains

Once you are done reading this FAQ information, you may simply close this window

Questions

  1. What is a Virtual Domain?
  2. How do I setup a Virtual Domain?
  3. What DNS do I have to set for my Virtual Domain?
  4. What do I set the DNS for my domain to to have both email and websites hosted with you?
  5. What do I set the DNS for my domain to to have only my email hosted with you?
  6. What do I set the DNS for my domain to to have only my website hosted with you?
  7. Can I use CNAME records to point my domain to your servers?
  8. What does the Routing column for virtual domains do?
  9. What does the Subdomain column for virtual domains do?
  10. How do I make it so only some sub-domains are handled by external servers?
  11. What is a 'catchall' virtual alias?
  12. What is DNS? What are nameservers?
  13. How do I create an email address which is broadcast to multiple receipients?
  14. How do I buy a domain?
  15. What's the advantage of a virtual domain over email forwarding from my domain registrar?
  16. I just want a step by step setup guide, what do I do?

Answers

  1. What is a Virtual Domain?
  2. A virtual domain is a way to use your own domain at OKmail. It allows you setup your domain at our servers so email sent to your domain (e.g. something@yourdomain.com) is directly delivered by other email systems to our servers and into your mailbox.

    Additionally, you can also publish and share files or directories from your file storage to a website at http://yourdomain.com.

    Please note that you currently can't purchse or register domains through us, you must first do this through a domain registrar. See here for some suggested registrars. Once you've registered the domain, see the steps below for configuring it to use our servers.

    Top

  3. How do I setup a Virtual Domain?
  4. First you need to ensure your account level supports virtual domains by checking the pricing table in the "Aliases/Own domain email" section. If your account supports virtual domains, just login to your account and go to the "Options" screen then the "Virtual Domains" screen. On that screen, add your domain in the section at the bottom. Then in the top section, add the aliases/addresses in your domain you want to use.

    If you do not wish to upgrade your account, you can use an external mail forwarder. See this FAQ entry for a comparison.

    If you want the email going to a particular email address in your virtual domain to go to a different account, enter the account name in the Target column. Also see this FAQ entry for more details on using the Target column.

    You can also create a special 'catchall' alias, see here for more details.

    The number of virtual domains and virtual domain aliases you can use is also determined by your service level, see the pricing table again for details.

    Once you've added your domain, you have change the DNS for your domain to point to our servers. See below for more information on doing that.

    Top

  5. What DNS do I have to set for my Virtual Domain?
  6. Depending on what features you want OKmail to handle for your domain, you need to setup the DNS for your domain slightly differently. The DNS for your domain will be controlled by your domain registrar. Unfortunately each registrar uses slightly different DNS handling software, though the general abilities of each should be the same.

    When you signed up your domain, your registrar should have given you some login details to their "control panel" for your domain. You'll need to login to their control panel to change the DNS settings for your domain as described below.

    Your requirements to host your domain should fall under the following categories:

    1. We host your domain email as well as a basic website in your file storage area, or you don't want any website at all
    2. We host your domain email only, but you host a website with another provider
    3. We host a website only in your file storage area, another provider handles your email

    Top

  7. What do I set the DNS for my domain to to have both email and websites hosted with you?
  8. That's all you have to do to get your domain email running. If you want to set up your web site with OKmail, follow the instructions here

    Top

  9. What do I set the DNS for my domain to to have only my email hosted with you?
  10. If your domain registrar does not give you a domain manager, you can use OKmail as a domain manager via our Custom DNS screen for your domain.

    Top

  11. What do I set the DNS for my domain to to have only my website hosted with you?
  12. If your domain registrar does not give you a domain manager, you can use OKmail as a domain manager via our Custom DNS screen for your domain.

    Top

  13. Can I use CNAME records to point my domain to your servers?
  14. Yes, but only if you want a particular domain to work for web access. If you want to use a domain for email, never use CNAME records, it will break email for your domain in horrible ways.

    Top

  15. What does the Routing column for virtual domains do?
  16. When you normally send email to a domain via SMTP or the web interface, it's forwarded to one of our outgoing servers, which then looks up the MX records for the domain and sends them to the appropriate servers for the domain.

    However if the domain you are sending to is one hosted by OKmail, there's no reason for us to send to the MX servers for the domain, because that's just our MX servers. Instead it would be better just to route it internally.

    However we can't do that automatically for every domain added, because people could add domains on the Virtual Domains screen that they don't actually own and don't point to us, and try and capture email for those domains. (eg hotmail.com, etc)

    So the approach we use is that you can choose one of two routing modes:

    The DNS column will tell you if the DNS for the domain is pointing to our servers or not. This column is rechecked every hour if the DNS is not pointing to us, but only every day if it is. If the DNS is pointing to us but you want email routed to the MX servers for the domain, just change the Routing to "Force Ext"

    There are two main advantages to internal routing:

    Top

  17. What does the Subdomain column for virtual domains do?
  18. When you use a virtual domain, you can control sub-domain addressing for your virtual domain. The options are:

    1. Yes, swap
    2. Sub-domain addressing is handled like regular OKmail domains, that is:

      blah@something.yourdomain.com -> something+blah@yourdomain.com

    3. Yes, drop
    4. Sub-domain addresses are treated the same as regular domain addresses, that is:

      blah@something.yourdomain.com -> blah@yourdomain.com

    5. No, reject
    6. Sub-domain addressing is disabled for your domain.

    When sub-domain addressing is disabled for your domain, this can mean two things:

    See this FAQ entry for more examples on setting up external sub-domain handling.

    Top

  19. How do I make it so only some sub-domains are handled by external servers?
  20. As an example say that you have yourdomain.com, but have set the DNS for lists.yourdomain.com and forum.yourdomain.com to be handled by different mail servers (eg MX records point to other servers). In this case you have two choices.

    Top

  21. What is a 'catchall' virtual alias?
  22. With virtual domains, you can create the special alias "*@yourdomain.com" called a 'catchall'. This will catch email to all addresses in your virtual domain not already caught by a particular alias. For example, if you've created name1@yourdomain.com and name2@yourcompany.com and you want to catch everything else, use a single '*' as the alias name.

    Plus addressing with catchall is very useful for virtual domains. It helps sort mail into folders, it conserves on aliases and requires few steps to configure. Addresses are kept concise.

    For example, jcitizen@okmail.net owns the virtual domain 'example.org'. jcitizen@okmail.net does not currently have a catchall for example.org. jcitizen creates a new catchall alias by adding the alias *@example.org with a target of 'jcitizen+*@okmail.net'.

    jcitizen@okmail.net then subscribes to a mailing list about sandwiches, signing up as 'sandwiches@example.org'. The mailing list fills his Inbox folder with mail. Eventually, jcitizen@okmail.net decides the mailing list is too much for his Inbox, so he creates a Folder in his account named 'sandwiches' (not 'inbox.sandwiches'). Thereafter, all mail he receives from the sandwiches mailing list gets put straight into the folder 'sandwiches' not into the folder Inbox.

    For more information on plus-addressing, see this FAQ entry.

    Top

  23. What is DNS? What are nameservers?
  24. Basically, DNS is the way that a domain name like "yourdomain.com" gets turned into an actual machine to access (IP internet address). This process is called a 'DNS lookup'.

    A DNS lookup goes through two stages.

    1. Find the name server (NS) for your yourdomain.com
    2. Find the requested information for yourdomain.com from the name server machines returned above

    There are actually several different types of DNS lookups. If you go to http://yourdomain.com in a web-browser it does a lookup for the "A" (Address) record. If you send an email to something@yourdomain.com it does a lookup for the "MX" (Mail eXchanger) record.

    This means that you can have completely separate systems and providers to handle web or email for your domain.

    So for the case of email delivery, you want to change the MX records for your domain so they point to the ones described in this FAQ entry.

    However, there needs to be a way to distribute the DNS information for your domain to the world. This is what "name servers" do. Usually when you buy a domain, the name servers for your domain are the name servers of the people you bought the domain from.

    Now most domain registrars allow you to change the DNS information for your domain, though some are more limited than others. Some you have to request through email, some have a web interface. Some allow 'wildcard' *.yourdomain.com records, others don't. etc.

    We recommend that you have at least 2 MX records, which means a sender will try up to 2 different servers to send the email to. This means that if main server isn't responding, it's got at least 1 backup server to try. It's also extremely useful to be able to use wilcard style *.yourdomain.com records so that you can get sub-domain addressing.

    So what do you do if your registrar doesn't support these. Well you can either nag them until they do, or you can change the name server your domain uses!

    You have two main options here.

    OKmail can be the nameserver for your domain. If you set us to be the name server for your domain, then by default we will supply the correct MX records for your domain to point to us, and the correct A records for your domain to point web requests to your file storage area. So if you want to handle email for your domain through OKmail and host a basic website in your file storage area, then just get your domain registrar to point the name servers for your domain as described in this FAQ entry.

    If you want more control over the DNS records for your domain, you can do that via OKmail as well by using the Custom DNS screen.

    Previous to have this greater control, you would have had to use an external DNS provider like ZoneEdit or My Domain, that's no longer required because our Custom DNS screen can basically do everything their DNS control panels could.

    Also see the Webopedia entry for more information and links on DNS.

    Top

  25. How do I create an email address which is broadcast to multiple receipients?
  26. It can be handy to have email addresses which broadcast to multiple receipients. For instance, you can use this feature to create a 'customer support' address which is sent to multiple staff members. Or use it to create a 'staff' address which is sent to all of your staff members.

    To create such an address, you firstly need to set up a virtual domain. Then, simply create an alias in that domain with whichever name you require (e.g. "staff"), and set the target of that alias to the list of recipients for that group, placing a comma between each name. For instance, "user1@example.com,user2@example.com". You now have a broadcast email address set up!

    Top

  27. How do I buy a domain?
  28. The following people sell domains at a good price. We don't officially endorse any of them, but we've used them, and know other people who've used them too.

    Top

  29. What's the advantage of a virtual domain over email forwarding from my domain registrar?
    1. Reliability - With forwarding, your registrar has to receive the email first, and then forward it on for you. With a virtual domain, the MX record is set to point to okmail.net, so email sent from another machine goes directly to our servers. There have been several issue's raised with us due to registrar forward problems. It's always trickier in a case like this to point the finger at whose fault the problem is as well. Using virtual domains, you know email is being sent directly to okmail.net, so if you have any issues, you know you've got OKmail support to help you. We do not provide support for tracking down mail delivery problems where a forwarder is involved (when we did so, in every case it was the forwarders fault and it took us days each time to liaise with them and help them find and fix the error). We have particularly found that mail forwarding from DNS specialists (which most people use) can be quite unreliable since they are great at DNS, but do not focus on SMTP. Specialist mail forwarders are a lot better.
    2. Better spam protection - We use a number of special techniques to try and stop spam at the edge of our network (SMTP stage) before it even enters our system, while avoiding false positive blocks. If you use another provider with a forwarding setup, then often they'll either have too aggressive blocking, and block legitimate mail, or they'll accept just about all email and forward it on. Once it's been accepted and forwarded, certain information has been lost which can make it much harder to detect the email as spam. It's much better if the MX records for your domain point directly to our servers.
    3. Ease of setup - You can add, change and setup catch-alls easily through the web-interface at OKmail. By setting your nameservers to point to us when you signup your domain, we take care of everything, including hosting your MX records so that there's no more to do. Using a forwarder requires getting OKmail, your forwarder, and your registrar all connected and configured and is complex to debug if it doesn't work as you expect.
    4. Speed - It is slower to use a forwarder rather than hosting with OKmail directly because every message goes through a forwarding step. We have seen the most popular email forwarder for instance sometimes hold messages for 2-3 days.
    5. Flexibility - If you use mailing lists, or send/receive email from different groups, "personalities" will allow you to setup separate inboxes/sent items folders for each personality. You can also associate an alias with a personality to automatically file and send mail as that alias/virtual alias.

    Those on a budget may still find a forward a good option. A good description of how to setup an use forwarding services is here.

    Top

  30. I just want a step by step setup guide, what do I do?
  31. Assuming you want a setup with both email and websites for your domain are hosted at OKmail, here's step by step instructions.

    1. First go to the 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. 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. 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 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 OKmail 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 OKmail address.
    4. Now that the OKmail screens are ready for the changeover, it's time to enter the following two names in your registar's DNS setup screen in the Domain Name Server Name column:
    5. ns1.messagingengine.com ns2.messagingengine.com

      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 OKmail), and if this fails then the backup is ns2.messagingengine.com.

    6. To check on proper DNS upgrading, go to OKmail account, and wait till you receive an email from the automated domain activation system. You might need to wait a few minutes for this to occur, but in extreme cases it might take up to a couple of hours to see this change. When OKmail sees that the change from your registrar has propogated to OKmail, then the Active column for your domain should change to Email & Web. So once you receive the email, go to the Virtual Domains page again and look in the Active column and check that is has changed to Email & Web. When active and propogated through the Internet, email to your domain will come to your OKmail account as you specified on the Virtual Aliases screen.
    7. 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 OKmail 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.

    One more detail about the Virtual Aliases screen: If you set (as just described) *@mydomain.com to target your username, 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:

    Top

Other FAQ sections