Adding a NFSN Site Alias¶
When you want to host content on a separate (sub)domain name but you don’t need an entirely separate site with associated separation/protection, for example, simple static HTML like this handbook, you can use a site alias for an existing NFSN site. This is what the figure13-prod01 site is used for.
Note
You’ll need to have shared account access to the NFSN account for the site you’re adding an alias for.
See Sharing Access to NFSN Sites for more details.
Set up DNS¶
In your DNS for the (sub)domain, point a CNAME or ALIAS record for the (sub)domain to:
n-hosted01.figure13.network
This URL is for the figure13-prod01 site. If you’re using a different site (like figure13-prod03, you’d use n-hosted01.)
Set up site subdirectory¶
Use SFTP or SSH to access the site directory. In the case of the figure13-prod01 site, you’d use:
ssh thils2_figure13-prod01@ssh.nyc1.nearlyfreespeech.net
Add a directory in /home/public that is the same as the (sub)domain that you’re adding. So if you’re adding an alias for foo.example.com:
mkdir /home/public/foo.example.com
Add site alias in NFSN panel¶
Log in to the NFSN control panel at members.nearlyfreespeech.net/login/.
Click on Sites at the top of the page, and then click on the site you want to add the alias to.
Under the Site Names & Aliases menu at the top of the page, click on Add a New Alias.
Enter the (sub)domain you want to add as an alias, and click on Add New Alias.
Assuming the DNS is configured properly, NFSN will add the alias and will automatically configure an SSL certificate for the alias.