To set up the appropriate DNS record for your domain, follow these steps:
-
Identify the Record Type: Use an ALIAS Record if you want to redirect the root domain (e.g., example.com) to another service's domain.
-
Host Value Input: Enter only the subdomain part of your main domain in the Host field. For example, if your domain is 'example.com', enter 'example' as the Host value.
-
Destination Hostname: In the corresponding field, input the destination hostname where you want your root domain to point (e.g., service.example.com).
-
TTL Settings: Set the Time-to-Live (TTL) to the minimum possible value, typically 60 seconds, to ensure quick propagation of changes.
-
Check Provider Support: Confirm with your DNS provider, such as Epycbyte, that they support ALIAS records and review their specific setup instructions.
-
Consider Record Coexistence: Using an ALIAS allows other subdomains (like 'www.example.com') to remain unaffected and point elsewhere, ensuring coexistence without issues.
-
Redirect Type: If the redirect is intended to be permanent, use a 301 status code for SEO purposes and browser caching.