DEV Community

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

Collapse
 
edwinthinks profile image
Edwin Mak • Edited

Hey Michael,

If you choose the Heroku + Rails route, you could get a custom domain through following these steps: devcenter.heroku.com/articles/cust...

If I'am understanding the question properly, I think this should be feasible and it should be a matter of setting up the DNS settings.

Hope I understood the question & this helps you :).

Best Regards!

Collapse
 
michael profile image
Michael Lee ๐Ÿ•

Hey Edwin! Thanks for chiming in. I think an example might help clarify what I'm trying to do.

Let's say my app is located at coolapplication.com

And let's say I have a user who's profile could be accessed at coolapplication.com/cooluser

Let's also say cooluser owns the domain cooluser.com and would like to point that domain to their profile on my application. So that when folks visit cooluser.com what gets shown is their profile on my application coolapplication.com.

Hope this clarifies things and wondering if your suggestion still applies to this :)

Collapse
 
edwinthinks profile image
Edwin Mak

Ahh Michael.

Thanks for clarifying!

In that case, I don't believe the heroku guide will help you in your pursuit :(

However, it looks like this person on stack overflow is aiming to do something very alike - stackoverflow.com/questions/224652...

^ there is an answer there which doesn't seem to have any response or thumbs up. Wondering if this will help.

Best wishes :)

Thread Thread
 
michael profile image
Michael Lee ๐Ÿ•

Thanks Edwin for sending me your best wishes :) and lending me your Google-foo skills. Will definitely have a look as I continue my quest to achieve this solution.