How to set up a website

Please note: We support static webpages only and do not plan on adding support for dynamic websites or website builder functionality.

With Fastmail, you can publish your own static website or share your files at a domain of your choice. If you are not using your own domain, your content will be published to an address based on your username or alias. For example, if your email address is inigomontoya@fastmail.com, then the website address would be http://inigomontoya.fastmail.com.

Please note that for security reasons, the content is actually hosted at http://inigomontoya.fastmail.com.user.fm.

In a multi-user account, only administrators can set up a website.

You can create each website through the Files → Websites page and choose which folder is displayed for that website.

Learn how to create and host a website with Fastmail below:

Create a standard website

  1. Upload your website files
  2. Publish your website
  3. Encrypted
  4. Set a homepage
  5. Set a custom 404 page

Upload your website files

In your Files page, create a new folder in which to upload your website files. Add files to your folder by using the Upload button or by dragging and dropping files from your computer onto your web browser window.

Publish your website

Once you have uploaded files to a folder, click on the Websites link in the sidebar of the Files screen.

To create a new website, click Create Website at the top of the screen.

create website screen

  1. Choose the the web address where your website will be published in the URL section. Use the drop-down to select the domain you wish to use. The available domains include your aliases and personal domains. Optionally, you can add a further subdomain section before it, or a path after it. If you are using your own domain, you must host your name servers with Fastmail, not just your MX records.
    • HTTPS: If you are using a personal domain hosted with Fastmail for your website, you can choose to encrypt your website with Let's Encrypt HTTPS.
  2. Publish as options:
    • Website if you have uploaded HTML pages for your website
    • Photo gallery to let visitors browse the files presented in a photo gallery format
    • Redirect to set this website URL to direct to another external site.
  3. In the Publish folder section, select the folder to which you've uploaded your website files.
  4. If you'd like to set a password to make your website private, you can specify one in the Password field. This will deny access to anyone who does not know the password.
  5. In the Website options section, choose whether you want to list the folder contents if there is no index.html file present. If you enable this option, you can also allow visitors to upload files to the published folders. We recommend setting a password in this case. Click the Save button when you have finished.

    Your webpages are now published and accessible at the web address you specified.

A website hosted on Fastmail

Encrypted access

If you're using a Fastmail address based on your username and you've set a password on your site and would like to access your files over an encrypted connection, you can do so by using the special address of the form below:

https://user.fm/yourusername.fastmail.com/

If you're using a custom domain hosted at Fastmail, you can enable SSL encryption when creating your website. Find out more about Let's Encrypt SSL certificates.

Set a homepage

To set a homepage that visitors will see when they visit your website, create a file called index.html or index.htm. It must be lower case. If both index.html and index.htm are present, index.html will be shown.

Fastmail's website hosting is only designed to host simple static webpages. For scripting and database functionality, please use a full web hosting provider.

404 pages

To add a custom 404 (Not Found) page to your website, upload a file named 404.html to the top-level directory for your website.

Managing Domains

Use your own domain

If you are hosting your domain's DNS with us, then you don't need to do any additional set up.

Website-only domain content is hosted by us, but DNS/email hosted elsewhere.

In some rare cases, users may want to host websites at Fastmail but keep the DNS and/or email hosting for their domain elsewhere. In that case, you should set a CNAME record for the subdomain www. at your DNS host pointing to web.messagingengine.com.

Remember, even after you have updated your DNS records, you still need to set up the website on the Websites screen as outlined above.

A note about aliases

Aliases with a . (dot) in them can't be used to create a website.

Fastmail maps all email addresses (usernames and aliases) to URLs by converting name@fastmail.com to http://name.fastmail.com. A subdomain at that address will take the form of http://subdomain.name.fastmail.com, so to avoid aliases being mistaken for subdomains, we don't allow you to create webpages using aliases with a period.

Usernames containing a dot are fine: they are internally translated to an underscore.

Redirected websites

A redirected website allows you to set up a URL within your domain that sends your users elsewhere when they visit it.

It is best practice in website management and SEO to insert "301" at the start of the redirect URL if your redirect is permanant: 301 https://name.fastmail.com. By default, Fastmail will use a "302" redirect, which indicates that the redirect is only temporary.