开发者

How can I direct a url to a subdomain?

开发者 https://www.devze.com 2023-01-05 23:50 出处:网络
I have a rails app that I host for multiple users as useraccount.mysite.com.I want to have the option to allow my users to have their own url (useraccount.com) but still host the app using my shared s

I have a rails app that I host for multiple users as useraccount.mysite.com. I want to have the option to allow my users to have their own url (useraccount.com) but still host the app using my shared server. So they should be able to access开发者_如何学Python useraccount.mysite.com or useraccount.com and it should return the same stuff. If they goto useraccount.com, the url should always say useraccount.com and they should never see mysite.com.

Is this possible?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号