Surge will be ready to use the domain right away, but it may take longer to propagate everywhere, depending on the internet service provider.

Deploying to your custom domain

Now you’re ready to deploy your project to your custom domain. With the Surge command line tool installed, you could run the follwing command:

surge path/to/my-project my-custom-domain.com

Saving a custom domain

You can save your custom domain so you don’t have to type it in each time you deploy. Simply add a CNAME file (no extension) to the root of the project you’re deploying, and Surge will use that automatically.