> For the complete documentation index, see [llms.txt](https://help.freewebstore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.freewebstore.com/marketing/domains/assigning-a-primary-domain.md).

# Assigning a Primary Domain

When you have multiple domain names attached to your Freewebstore, your primary domain is the web address that your customers are directed to.

Your other, secondary domains, act as redirects. This means that if any potential customers use any of your secondary domains to access your online store, they will be redirected to your primary domain. Your primary domain is your **home** domain, it is where your online store lives.

So, for example, my current primary domain is '[**www.freewebstore.com**](#undefined)**'**, but I want to change my new domain '**[www.freewebstorerocks.com](http://www.freewebstorerocks.com)'** to be my primary domain. I follow the instructions below and make '[www.freewebstorerocks.com](http://www.freewebstorerocks.com)' my new primary domain. This means that when my customers visit '[www.freewebstore.com](http://www.freewebstore.com)' they will now be redirected to '[www.freewebstorerocks.com](http://www.freewebstorerocks.com)**'** instead.&#x20;

### How do I change my primary domain?

To select any of your domains to be your primary domain:

1. Log in to your control panel.
2. Go to the **Marketing > Domain Names** section.
3. In the domain panel you wish to make primary, you will see a bunch of action icons. You are looking for the **Star** icon, click this button.
4. You will then be greeted by a confirmation pop-up asking you to confirm the changes. If you are sure, click **Yes, make Primary**.

You should then see that your selected primary domain will jump to the top of the list and a message of **SSL pending** will be visible. Attaching your SSL to your new domain can take up to 48 hours to complete. If you have any issues after this time, please [**get in touch**](https://admin.freewebstore.com/support_new_ticket.aspx) with our friendly support team.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.freewebstore.com/marketing/domains/assigning-a-primary-domain.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
