I'm creating a django site that will allow users to point their custom domains to their profile on my site. (All the code that handles user domains is finished, tested and works fine) I'm just wondering how this would work on WebFaction: can users use a CNAME to point their domain to my server (theirdomain.com > theirsite.mydomain.com)? In order for this to work, will I need to register each and every users' domain in my WebFaction control panel and link it with a website entry? I haven't been able to find a good answer about this from previous help topics. Ideally I'd like to offer users to use A records: is it possible to allow a user to use an A record to point their domain to my server's IP? Again, would this require adding each user's domain (and a website record) to my WebFaction control panel? This is the first time I've fiddled with user domains in a project so I don't have experience getting it all to work. Any help would be much appreciated! Edit: Would purchasing a Dedicated IP make this easier in any way? asked 22 May '13, 02:38 danr |
A In either case, you will need to create the domain in the WebFaction control panel and attach it to your Django application in its website record (otherwise, the server would never be able to discern which application should be served on that domain). However, this is very easily done automatically using our API. This means that your users can determine whether they'd rather use an A record or CNAME record. Purchasing a dedicated IP address would not make a difference, since the external port 80 would still go to our front-end Nginx server. Hope that helps! answered 22 May '13, 03:43 ryans ♦♦ OK awesome, that's mostly what I expected. Great to hear that both A records and CNAME are available to users. Thanks for your help.
(22 May '13, 05:17)
danr
|
How would a SSL certificate work if the site serves multiple custom domains? Would the certificate for the primary domain work for all the custom domains or would I need a SSL certificate for each custom domain? Thanks answered 19 Feb '16, 18:38 ModernMarc If you purchase a SAN ("subject alternative names") certificate, you can associate multiple domains with a single certificate. If not, then you'll need a separate certificate for each.
(19 Feb '16, 18:55)
seanf
I'm assuming I can't programmatically add domains to the certificate and I'd have to manually follow the secure-sites-https steps for each new domain? https://docs.webfaction.com/user-guide/websites.html#secure-sites-https
(19 Feb '16, 19:07)
ModernMarc
That's correct.
(19 Feb '16, 19:14)
seanf
|