Resource

Need a domain for your website?

Learn how domains, DNS, hosting, and PostMyForm fit together, then choose a domain for your static website.

Last updated 2026-08-20

A domain is the public address people use to reach your website, such as example.com. You can use PostMyForm with a domain from any registrar.

Understand the parts of a website

A domain is only one part of a website. The registrar, DNS provider, web host, and PostMyForm have different jobs.

  • Domain registrar: Registers and renews your domain name.
  • DNS provider: Publishes records that point the domain to your website and other services.
  • Web host: Publishes your website files. GitHub Pages is one static hosting option. Astro can build a static site that you deploy to a compatible host.
  • PostMyForm: Receives form submissions from your website. PostMyForm does not host the website or require a specific registrar.

Choose a useful domain

Choose a name that is easy to type, easy to say, and appropriate for the website. Before you register it, consider the following points:

  • Keep the name reasonably short.
  • Avoid unnecessary punctuation and unusual spelling.
  • Check that the name does not conflict with a trademark or another organization.
  • Review both the initial registration price and the renewal price before you buy.
  • Confirm that you can manage the DNS records required by your web host.

Register a domain

Network Solutions is one option for domain registration. PostMyForm works with domains registered elsewhere too, so you do not need to move an existing domain.

Connect the domain to your website

After registration, follow your web host's instructions to connect the domain. The host normally provides the DNS records that you must create.

When the custom domain is live, update the allowed origins for your PostMyForm form. Use the exact browser origin, including https:// and the hostname, but do not include a page path.

For example, if the contact page is https://www.example.com/contact/, the allowed origin is https://www.example.com.