Connect a Domain
How to point your domain to your GHP Cloud server and verify SSL.
Connect a Domain
Connecting a domain to your GHP Cloud site involves two steps: updating your domain's DNS records and verifying that SSL is active. This guide covers both.
Understanding DNS propagation
DNS changes are not instant. When you update an A record at your registrar, the change propagates across the global DNS network in anywhere from a few minutes to 48 hours, depending on the previous TTL (time to live) value on the record. Using a low TTL of 300 seconds (5 minutes) before making changes gives you faster propagation.
Finding your server IP
In GHP Cloud, go to Servers and click your server. The Public IP is displayed at the top of the server detail page. Copy this value.
Adding DNS records at your registrar
Log in to your domain registrar (GoDaddy, Namecheap, Cloudflare, Google Domains, etc.) and navigate to the DNS management section. Add the following records:
Type: A Name: @ Value: YOUR_SERVER_IP TTL: 300
Type: A Name: www Value: YOUR_SERVER_IP TTL: 300The @ symbol represents the root domain. If your registrar does not support @, enter the full domain name instead.
Using Cloudflare as your DNS provider
If your domain is behind Cloudflare, set the proxy status to DNS only (grey cloud icon) initially. The orange cloud (proxied) mode hides your real IP, which can cause issues with Let's Encrypt's domain validation. Once SSL is provisioned, you can safely switch back to proxied mode.
Checking propagation
Use a tool like [dnschecker.org](https://dnschecker.org) to verify that your A record is resolving to the correct IP across multiple global DNS servers. You can also check from your terminal:
dig A example.com +shortSSL certificate provisioning
Once DNS is pointing to your server, GHP Cloud can provision a free Let's Encrypt SSL certificate. In your site's detail page, click the SSL tab. If the certificate is not yet active, click Request SSL. GHP Cloud performs an HTTP-01 challenge to verify domain ownership and installs the certificate. The whole process takes about 30 seconds.
Let's Encrypt certificates are valid for 90 days. GHP Cloud auto-renews them at 30 days before expiry. You do not need to do anything — renewal is fully automatic.
Uploading a custom SSL certificate
If you have a paid SSL certificate (EV, wildcard, etc.), click SSL → Upload Custom Certificate and paste your certificate PEM, private key, and CA bundle. GHP Cloud installs it and configures Nginx to serve it.
Was this article helpful?