docusaurus Home
To customize the URL as docs.fair.pm
On Github:
- Click on SETTINGS for this repository
- Click on Pages on the left hand menu
- Under Custom Domain, put in
To customize the URL asdocs.fair.pm.fair.pmand click save - Update the
/docs/docusaurus.config.jsfile to useurl: 'https://docs.fair.pm', - Push the code to production
On AWS Route 53
- Log in to AWS: Open the AWS Management Console and navigate to the Route 53 service.
- Select your Hosted Zone: Click on Hosted zones and select the domain fair.pm.
- Create a new record: Click the Create record button.
- Configure the record:
- Record name: Enter
docs. - Record type: Choose
CNAME- Routes traffic to another domain name and to some AWS resources. - Value: Enter
fairpm.github.io. Important: Do not include the/docspart of the URL. The CNAME record should point to the root GitHub Pages domain. - TTL (Seconds): You can leave this at the default setting.
- Save the record: Click the Create records button.
After you've completed these steps, it may take some time for the DNS changes to propagate, though it is often quite fast.