Set Up Your Site
To use the Zephr CDN with your site, which allows you to use the out-of-the-box functionality offered by Zephr, you must set up your site in Zephr.
Note: If you are using a third-party CDN and want to use the out-of-the-box functionality offered by Zephr, you must deploy a JavaScript library to your site pages and proxy requests to forward all /zephr
and /blaize
calls. For further information on using the out-of-the-box functionality, see the Use Zephr Functionality Through Third-party CDNs topic.
To set up your site, complete the following steps:
- Select Delivery > Sites from the main menu. The Sites screen displays, as illustrated below:
- Select the Add a Site button.
- Enter a title for your site in the Title text box.
Zephr recommends that your title reflects the base URL of your site. For example, for www.zephr.com, we would enter Zephr in the Title text box.
-
By default, the following domains are created based on the origin you specify:
- <yoursite>.cdn.zephr.com
This is set to the Preferred Live environment.
- <yoursite>.preview.zephr.com
This is set to the Preferred Staging environment
For this example, you don’t need to change or add to these domains. However, when going live with your site, you would need to add any domain options you want to use with your base URL; for example, www.<yoursite>.com, <yoursite>.com, and sub domains such as shop.<yoursite>.com. For further information on adding domains, see the Configure Site Domains topic.
- <yoursite>.cdn.zephr.com
- Select the Save button. Your site is added.
For further information on managing sites, see the Sites section.