Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom domains support for hosting #820

Open
jelveh opened this issue Oct 31, 2024 · 0 comments
Open

Custom domains support for hosting #820

jelveh opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jelveh
Copy link
Contributor

jelveh commented Oct 31, 2024

Currently, websites hosted on Puter are only accessible via *.puter.site subdomains. Adding support for custom domains would allow users to use their own domain names for their hosted websites, making Puter a more complete hosting solution.

Proposed Features

  • Allow users to add custom domains in the hosting settings
  • Provide clear instructions for setting up DNS records (A record, CNAME)
  • SSL/TLS certificate management for custom domains
  • Validation system to verify domain ownership
  • UI in "My Websites" section to manage custom domain mappings
  • API endpoints to programmatically manage custom domains

Technical Considerations

  • DNS verification system to ensure users own the domains they're adding
  • Integration with Let's Encrypt or similar service for SSL certificates
  • Handle both apex domains and subdomains
  • Proper error handling for DNS misconfigurations
  • Rate limiting for domain additions
  • Storage of domain mappings in the backend

User Experience

  1. User navigates to "My Websites"
  2. Clicks "Add Custom Domain" for a specific website
  3. Enters their domain name
  4. System provides DNS configuration instructions
  5. User configures their DNS
  6. System validates the DNS configuration
  7. Once validated, the website becomes available on the custom domain

Implementation Details

  • Add domain management UI to the websites section
  • Create backend endpoints for domain management
  • Implement domain verification system
  • Set up automated SSL certificate provisioning
  • Add domain routing logic to the hosting infrastructure
@jelveh jelveh added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant