Domain Configuration
Learn how to setup domains using the TwicPics dashboard.
A domain is a collection of paths. Domain paths map two URLs:
- An output URL — where optimized assets will be served from
- A source URL — the storage where the media will be retrieved from
Taking the example of the subdomain.twic.pics
domain:
- If
/
points tohttps://media.company.com/
- Then
https://subdomain.twic.pics/image.png
will point tohttps://media.company.com/image.png
.
TwicPics domains
In each workspace domain section, you can configure a subdomain
under the TwicPics domain:
You can choose any subdomain
you like, pending availability.
Example: https://mycompany.twic.pics
Custom domains
You can set up custom domains of your own (using custom CNAME).
Example: https://assets-subdomain.yourcompany.com
Requirements
Connecting your domain requires adding two CNAME records.
- Use a domain that you own
- Use a sub-domain like
media.mydomain.com
- Root domains, e.g.
mydomain.com
(without the www), are not supported
Custom domains are available for Business and Enterprise customers.
Create a custom domain
In the workspace domain section, open the dropdown menu "create domain" and click on Create Custom domain :
Validation and generation of each CNAME can take several minutes.
Using multiple environments? Check our
Multiple environments pattern
.