使用域作为不同站点的子域?
这就是我想要创造的幻想。想象一下,我的公司正在为想要轻松创建网站的公司提供内容管理系统。公司来了,选择包和主题,并创建从类别系统到产品详细信息的网站。
,该公司网页的网址是 http://company.mysite.com
如果他想登录管理面板 ,网址为 http://company.mysite.com/administrator
到这里为止没问题。一切都很好并且工作正常。但是我想给公司一个选择,无论他是否想要一个新域名,就像 WordPress 那样。例如; www.mycompany.com 可用,他想要它而不是 mycompany.mysite.com
这是问题;
我如何使用该域,就像它托管在 mysite.com 上一样?简而言之,我想从一个地方发布所有数据,并且不想为每个客户提供重复的文件。
注 1:已安装带有 IIS 7.5 Url Rewrite 2 的 Windows Server。 注2:必须为该公司开设托管,因为他们想使用诸如 之类的电子邮件[电子邮件受保护] 也。
我真的需要一个答案。我希望我能很好地解释。希望你能理解:)
至少请告诉我这背后的逻辑。
问候
Here is the fantasy I want to create. Imagine my company is offering a Content Management System for companies who want to create their web sites easily. Company comes, selects package and theme and creates its web site from Category system to Product Details.
And the url of this company's web page is http://company.mysite.com
If he wants to login admin panel, the url is http://company.mysite.com/administrator
No problem till here. Everything is fine and working.. But I'd like give an option to the company whether he wants a new domain or not like Wordpress does. For example; www.mycompany.com is available and he wants it instead of mycompany.mysite.com
Here is the question;
How can I use this domain as if it was hosted on mysite.com? Briefly, I want to publish all data from one place and don't want to have duplicate files for every customer.
Note 1: Windows Server with IIS 7.5 Url Rewrite 2 is installed.
Note 2: A hosting has to be opened for that company because they want to use e-mails like [email protected] also.
I really need an answer. I hope I could explain well. Hoping you to understand :)
At least please tell me the logic behind this.
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)