mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
55 lines
2.6 KiB
ReStructuredText
55 lines
2.6 KiB
ReStructuredText
.. _custom_domain:
|
|
|
|
Using a custom domain
|
|
=====================
|
|
|
|
By default, event shops built with pretix are accessible at ``https://<domain>/<organizer>/<event>/``, where
|
|
``<domain>`` is ``pretix.eu`` if you are using our hosted service and ``<organizer>`` and ``<event>`` are the short
|
|
form versions of your organizer account name and event name, respectively.
|
|
|
|
However, you are also able to use a custom domain for your ticket shops! If you work for "Awesome Party Corporation"
|
|
and your website is ``awesomepartycorp.com``, you might want to sell your tickets at ``tickets.awesomepartycorp.com``
|
|
and with pretix, you can do this. On this page, you find out the necessary steps to take.
|
|
|
|
With the pretix.eu hosted service
|
|
---------------------------------
|
|
|
|
Step 1: DNS Configuration
|
|
#########################
|
|
|
|
Go to the website of the provider you registered your domain name with. Look for the "DNS" settings page in their
|
|
interface. Unfortunately, we can't tell you exactly how that is named and how it looks, since it is different for every
|
|
domain provider.
|
|
|
|
Use this interface to add a new subdomain record, e.g. ``tickets`` of the type ``CNAME`` (might also be called "alias").
|
|
The value of the record should be ``www.pretix.eu``.
|
|
|
|
Step 2: Wait for the DNS entry to propagate
|
|
###########################################
|
|
|
|
Submit your changes and wait a bit, it can regularly take up to three hours for DNS changes to propagate to the caches
|
|
of all DNS servers. You can try checking by accessing your new subdomain, ``http://tickets.awesomepartycorp.com``.
|
|
If DNS was changed successfully, you should see a SSL certificate error. If you ignore the error and access the page
|
|
anyways, you should get a pretix-themed error page with the headline "Unknown domain".
|
|
|
|
Step 3: Tell us
|
|
###############
|
|
|
|
Write an email to support@pretix.eu, naming your new domain and your organizer account. We will then generate a SSL
|
|
certificate for you (for free!) and configure the domain.
|
|
|
|
|
|
With a custom pretix installation
|
|
---------------------------------
|
|
|
|
If you installed pretix on a server yourself, you can also use separate domains for separate organizers.
|
|
First of all, configure your webserver or reverse proxy to pass requests to the new domain to pretix as well.
|
|
Then, go to the organizer account in pretix and click the "Edit" button. Enter the new domain in the "Custom Domain"
|
|
field, then you're done!
|
|
|
|
.. thumbnail:: ../../screens/organizer/edit_sysadmin.png
|
|
:align: center
|
|
:class: screenshot
|
|
|
|
Note that this field only shows up if you are logged in as a system administrator of your pretix installation.
|