简体   繁体   English

允许用户提供自定义域

[英]Allow users to provide custom domains

I have a next.js app on Now and I'm adding the ability for users to point domains at their account.我现在有一个 next.js 应用程序,我正在添加用户将域指向其帐户的功能。 Kinda like about.me.有点像about.me。

What's the best way to approach this?解决这个问题的最佳方法是什么? I've done this in Rails in the past but not sure how to do it here.我过去在 Rails 中做过这个,但不知道如何在这里做。

Thanks!谢谢!

The best way would be to do the following:最好的方法是执行以下操作:

  1. Use the ZEIT API to programmatically add domains.使用ZEIT API以编程方式添加域。
  2. If you are going for over 50 domains, make sure you know the limits of your account.如果您要使用 50 多个域,请确保您了解帐户的限制。 Having too many domains will require an enterprise plan.拥有太多域将需要企业计划。 Take a look at this documentation .看看这个文档
  3. If you are launching a business, a good support plan will help you get started with the API quickly.如果您正在开展业务,良好的支持计划将帮助您快速开始使用 API。 Again, take a look at Enterprising offerings if possible.再次,如果可能的话,看看企业产品。
  4. Reach out to support@zeit.co for any needed information.如需任何需要的信息,请联系 support@zeit.co。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM