---
schema_version: "1"
id: 46b2dd63a1f6b3300c342c82490ad1f069b0a180807c728c3e378467e7ed0a31
title: Set Up a Site and Domain for Your Vaccine Eligibility Forms
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/vaccine_packages_site_domain_setup.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.vaccine_packages_site_domain_setup.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f289bddbf3c9692107a375f7deca2acc78940ec424a8a73c2f8c01afa5e9d6a4
description: Create a site and connect it to your domain. Then, change the home page to one of the Visualforce pages included in the Vaccine Eligibility package and set up public access to the form.
products:
  - Salesforce Platform
release: "264"
---
# Set Up a Site and Domain for Your Vaccine Eligibility Forms

Create a site and connect it to your domain. Then, change the home page to one of the Visualforce pages included in the Vaccine Eligibility package and set up public access to the form.

First, let’s create everything you need to get started.

1. Enable Digital Experiences and register a domain.
    
    The domain should be in the format `YOURSITE-community/force.com`. For detailed steps, see [Enable Digital Experiences](https://help.salesforce.com/articleView?id=experience.networks_enable.htm&type=5&language=en_US).
2. Create a new Salesforce Tabs + Visualforce Community. Don’t activate it yet.
3. Make sure that an Experience Cloud site was created with your domain.
4. Set up a custom domain to serve your site.
    1. We recommend that you use the Salesforce CDN to serve your custom domain.
    2. When you add a custom URL, enter / to create a root path for your domain.

Change the home page of your site to one of the Visualforce pages included in the package, then set access.

1. Go to **Setup** | **User Interface** | **Sites and Domains** | **Sites**.
2. Click the site label of your Experience Cloud site. (The site type is Community.)
3. Click **Edit**.
4. Under Active Site Home Page, use the lookup to find the page you want to use as the home page.
    
    For the Vaccine Eligibility packages, use **Vaccination Sign-Up Start Page**.
5. Make sure that the following settings are selected:
    1. **Require secure connections (HTTPS)**
    2. **Upgrade all requests to HTTPS**
6. Click **Save**.
7. Click **Public Access Settings**.
8. On Enabled Visualforce Page Access, click **Edit**.
9. Add every page that begins with `vaxpk`.
10. Click **Save**.
11. On Enabled Apex Class Access, click **Edit**.
12. Add the following controller.
    
    For Vaccine Eligibility packages, add `vaxpk.PreRegUserInputController`.
13. Click **Save**.

Activate your site.

1. Go to **Setup** | **Digital Experiences** | **All Sites**.
2. Click **Workspace** next to the Tabs + Visualforce Community you created in step 2.
3. Click **Activate**.
    
    Your site’s content is published on your custom domain and URL.

Preview your site.

1. Go to **Setup** | **User Interface** | **Sites and Domains** | **Domains**.
2. Click the name of your custom URL.
3. Click **View** next to the root path.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-vaccine_cloud-264-0-0-production-enus/efba81cf-4df2-478b-9074-4524c9b354ed/images/icon_note.png)
    
    Note If you made any changes to the Visualforce pages, preview your site with the Experience Cloud site URL instead. It can take some time for changes to appear from your external domain.

To protect your sign-up form against bots, we strongly encourage you to implement a captcha solution for your registration form. [Learn More](https://www.learnexperiencecloud.com/s/article/Implementing-reCAPTCHA-in-Community-Cloud)

Keep in mind that any server-side processing that you introduce with your recaptcha implementation impacts the performance of the form. Notify Salesforce before performing any load or scale testing in production.