Domain Redirect Setup Instructions

Goal

Redirect these domains to your main website:

  • hcyberphysical.nethttps://www.hcyberphysical.com
  • hcyberphysical.orghttps://www.hcyberphysical.com

Option 1: Squarespace Domain Redirects (If Available)

If your .net and .org domains are also managed in Squarespace:

  1. Log into Squarespace
  2. Go to Settings → Domains
  3. For each domain (hcyberphysical.net and hcyberphysical.org):
    • Click on the domain
    • Look for “Redirect” or “Forwarding” option
    • Set redirect to: https://www.hcyberphysical.com
    • Choose redirect type: 301 Permanent Redirect (better for SEO)

Option 2: Domain Registrar Redirects

If your .net and .org domains are registered elsewhere:

  1. Log into your domain registrar (where you bought the domains)
  2. Look for “Domain Forwarding” or “URL Redirect”
  3. Set up redirects:
    • Source: hcyberphysical.net
    • Destination: https://www.hcyberphysical.com
    • Type: 301 Permanent Redirect
    • Repeat for hcyberphysical.org

Option 3: Cloudflare Redirects (If Using Cloudflare)

If you move DNS management to Cloudflare:

  1. Go to Cloudflare dashboard
  2. Add both domains (hcyberphysical.net and hcyberphysical.org)
  3. Set up Page Rules:
    • Rule 1: *hcyberphysical.net/* → Redirect to https://www.hcyberphysical.com/$1
    • Rule 2: *hcyberphysical.org/* → Redirect to https://www.hcyberphysical.com/$1
    • Settings: 301 Permanent Redirect

This approach requires separate repositories or managing multiple CNAME files, which is complex and not ideal.

Best Option: Use your domain registrar’s forwarding/redirect feature. Most registrars support this:

  • GoDaddy: Domain forwarding in domain settings
  • Namecheap: URL redirect records
  • Google Domains: Synthetic records (redirect)
  • Cloudflare: Page Rules (if using Cloudflare DNS)

What to Do Right Now

  1. Check where your .net and .org domains are registered
  2. Log into that registrar’s control panel
  3. Look for “Domain Forwarding”, “URL Redirect”, or “Domain Redirect”
  4. Set both domains to redirect to: https://www.hcyberphysical.com
  5. Use 301 Permanent Redirect (important for SEO)

Testing

After setting up redirects, test them:

curl -I http://hcyberphysical.net
curl -I http://hcyberphysical.org

You should see HTTP/1.1 301 Moved Permanently and Location: https://www.hcyberphysical.com

Important Notes

  • 301 vs 302 redirects: Use 301 (Permanent) - better for SEO
  • SSL/HTTPS: Ensure your main site (www.hcyberphysical.com) has SSL enabled (GitHub Pages does this automatically)
  • Propagation: Redirects typically work immediately, but DNS changes can take up to 48 hours