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
email@example.com, then the website address would be
Please note that for security reasons, the content is actually hosted at
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
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.
- 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.
- 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.
- In the Publish folder section, select the folder to which you've uploaded your website files.
- 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.
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.
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:
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.htm. It must be lower case.
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.
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.
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
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
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.
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