> For the complete documentation index, see [llms.txt](https://documentation.siteglide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.siteglide.com/portal/sites/domains/legacy-aws-external-domains.md).

# Legacy AWS External Domains

## If your site is hosted on our AWS servers

If using AWS please follow the steps below, contact us if you're unsure which stack you are on.

### Step 1: Add a Domain

Navigate to the Domains tab on the Site and click Add Domain:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-a4065a628819b6cdfc7e9f7f12174f150e33f051%2FSiteglide-Site-Domains-None.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Choose External

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-a00e4adce929f6e812ee021743dea80a91e4fd73%2FSiteglide-Site-Domains-Add-External.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Enter Domain Details

Type in the root domain without www and you'll likely want to set it as the Default Domain and Enable WWW Redirect. Then click Add Domain:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-1f1c4b8a563a26215570c60c2f444032d3a42139%2FSiteglide-Portal-Sites-Domain-External-Add.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Important Note:** *Your domain can take up to a few minutes to be fully added to the system. Please check back and refresh the page shortly.*
{% endhint %}

### Step 4: Add SSL Verification CNAME

Once your domain has finished creating in the system, it's status will change to "Ownership Verification Pending" which means it is now ready.

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-6a6f7af8ed7990f023c6f3fb3122a3db90b81abf%2FSiteglide-Portal-Sites-Domain-External-Verify-SSL.png?alt=media" alt=""><figcaption></figcaption></figure>

Add the generated CNAME record to in your DNS control panel to verify ownership, generate an SSL certificate and automatically apply it to your site during the next step.

#### GoDaddy example:

![](https://d258lu9myqkejp.cloudfront.net/attachment_images/fc70b36dfbcfe3696b886456b64583f8b636d658356a1fc1bc8c65040f4c4e7135e9327e-5fa5-4d74-b88d-fc9d49_12o0sfv.jpeg)

Once you have saved the record in your registrar, allow some time for propagation, check back and refresh the page.

{% hint style="warning" %}
**Important Note:** *The CNAME verification record must NOT be deleted at any point otherwise the SSL certificate will not renew.*
{% endhint %}

### Step 5: Add WWW CNAME Record

Once the verification CNAME record has propagated the WWW CNAME Record needs to be added in your DNS Control Panel (GoDaddy example):

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-76edbcf32746dad3cb5ee0237d731139c52ee899%2FSiteglide-Portal-Sites-Domain-External-WWW-CNAME.png?alt=media" alt=""><figcaption></figcaption></figure>

![](https://d258lu9myqkejp.cloudfront.net/attachment_images/675766690a2105effba6c541fa9042718196bc0aca64a984869352884ea916b720f847b9-5e47-4982-aaea-e44bff_w8y6cl.jpeg)

The site will now be live via WWW (<https://www.domain.com>) but not via the root domain (<https://domain.com>). Complete Step 5 to fully setup the domain correctly. The domain should show as 'Live' under the Status column in Siteglide:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-e70d388feaaddc640f7212634a819156d851d5c5%2FSiteglide-Portal-Sites-Domain-External-Live.png?alt=media" alt=""><figcaption></figcaption></figure>

## Forward the Root/@ to the www (with SSL)

Most DNS Control Panels cannot correctly redirect the root traffic to the WWW over SSL so we recommend using an external service called Redirect.Pizza.

Just follow these steps to redirect your **non-www** to the **www** variant. The non-www is also sometimes called naked record or "apex" (screenshots below):

1. Create a [redirect.pizza](https://redirect.pizza/register) account.
2. Add your source. This should be the domain without [www](http://www). For instance, enter **example.com** as your source.
3. Set the destination to the variant with [www](http://www). Example: **[www.example.com](http://www.example.com)**
4. In most cases, you will want the setting for "Path forwarding" and "Query string forwarding" set to "Yes". If set to "No", all non-www pages will redirect to your www homepage.
5. Press "Create redirect"
6. The required DNS change pops up. Go to your domain registrar to make this DNS change for the **A** record. This record may already exists '@'. Press 'edit' to edit it to the required DNS setting for redirect.pizza. For more info, see [What are these DNS changes?](https://redirect.pizza/support/what-are-these-dns-changes)
7. The DNS change is made! It may take up to 24 hours before the DNS is fully propagated.

<div><figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-64e986b309a0f7b4e659fb592a5b4651a560b06d%2FSiteglide-Portal-Sites-Domains-External-Redirect-Pizza-Verified.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-bf5d72f92646003a4078b95d1b2b930d196edd0a%2FSiteglide-Portal-Sites-Domains-External-Redirect-Pizza-Checking.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-24dcd675ff27d1d788dfbf84669f65711da4d5ef%2FSiteglide-Portal-Sites-Domains-External-Redirect-Pizza-Create.png?alt=media" alt=""><figcaption></figcaption></figure></div>

These Steps can also be found here: <https://redirect.pizza/support/redirecting-non-www-to-www>
