Overview
The production site uses the domainservices.dzaleka.com as configured in astro.config.mjs:13:
Prerequisites
- A registered domain name (from any domain registrar)
- Access to your domain’s DNS settings
- A deployed site on Netlify
Adding a Custom Domain
services.dzaleka.com)Netlify recommends using a subdomain like
www or a custom subdomain for better performance and flexibility.DNS Configuration
Configure your DNS records based on your domain type.Option 1: Netlify DNS (Recommended)
The easiest method is to use Netlify DNS:0X with the actual values provided)Option 2: External DNS
If you prefer to keep DNS with your current provider:For Subdomain (e.g., services.dzaleka.com)
Add a CNAME record:| Type | Name | Value |
|---|---|---|
| CNAME | services | your-site.netlify.app |
For Apex Domain (e.g., dzaleka.com)
Add an A record pointing to Netlify’s load balancer:| Type | Name | Value |
|---|---|---|
| A | @ | 75.2.60.5 |
| Type | Name | Value |
|---|---|---|
| ALIAS | @ | your-site.netlify.app |
SSL/HTTPS Setup
Netlify automatically provisions SSL certificates for custom domains.Automatic SSL Certificate
https://Troubleshooting SSL
Certificate not provisioning:- Verify DNS records are correct
- Wait 24-48 hours for DNS propagation
- Check for CAA records blocking Let’s Encrypt
- Ensure all resources (images, scripts) use HTTPS
- Update hardcoded
http://URLs tohttps:// - Use protocol-relative URLs:
//example.com/image.jpg
Domain Redirects
Configure domain redirects for common scenarios.www to non-www (or vice versa)
Add both domains to Netlify, and Netlify will automatically redirect the secondary domain to the primary. Example: Redirectwww.dzaleka.com to dzaleka.com:
- Add both
dzaleka.comandwww.dzaleka.com - Set
dzaleka.comas the primary domain - Netlify automatically redirects
wwwto non-www
Custom redirects
Add custom redirects innetlify.toml:
netlify.toml
DNS Verification Tools
Use these tools to verify your DNS configuration:Check DNS records
Online tools
- DNS Checker - Check global DNS propagation
- What’s My DNS - DNS propagation checker
- MX Toolbox - DNS lookup tool
Email Configuration
If you use email with your domain, preserve your email records:MX Records
Preserve existing MX records when transferring DNS:SPF Records
Maintain SPF records for email authentication:DKIM Records
Keep DKIM records if configured:Updating Site Configuration
After setting up your domain, update your site configuration:Testing Your Domain
Verify everything works correctly:Common Issues
DNS not propagating
Symptoms: Domain not resolving or showing old site Solutions:- Wait 24-48 hours for full propagation
- Clear your DNS cache:
sudo dscacheutil -flushcache(macOS) - Try accessing from a different network
- Use incognito/private browsing mode
SSL certificate not provisioning
Symptoms: “Not secure” warning or no HTTPS Solutions:- Verify DNS records point to Netlify
- Wait for DNS propagation
- Check for conflicting CAA records
- Contact Netlify support if issue persists
Domain showing Netlify default page
Symptoms: Generic Netlify page instead of your site Solutions:- Verify domain is added in Netlify dashboard
- Check that DNS records are correct
- Ensure site is deployed successfully
- Clear browser cache
Next Steps
Netlify Deployment
Learn more about Netlify deployment options
Configuration
Customize your Astro and Tailwind configuration

