DEV Community

Discussion on: How does one go about allowing custom domains to point to your application?

 
joshualjohnson profile image
Joshua Johnson

Like a blog platform would does this type of thing?

In that case, I would say that you can host within a single application. However, at the server level is where you would configure your VirtualHosts so that you can serve the application with different domains. At the application level, you will want a way to associate the custom domain with the client profile.

Thread Thread
 
michael profile image
Michael Lee 🍕

Yeah, I think the easiest comparison to the idea is a blog platform. Where a user can create content and "publish" it to the account on the platform I'm creating and then point their custom domain to it.

Thanks Joshua for the guidance! Think you've set me on a good path :)

Thread Thread
 
joshualjohnson profile image
Joshua Johnson

No problem! Glad to help!