本文介绍了如何动态创建虚拟子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以帮助我,如何动态创建虚拟子域 示例:Blogger网站生成blogname.blogspot我想做类似的事情. 我有2个与主域具有相同站点结构的子域,但是它会根据要访问的子域呈现不同的数据. 示例: furniture.abc electronics.abc 其他几点:我正在共享托管中完成所有这些工作,并且无法访问IIS
Can anyone please help me with, how can i create virtual subdomain on the fly Example: Blogger website generates blogname.blogspot I would like to do something similar. I have 2 subdomains which have same site structure as maindomain but it would render different data based on subdomain it is trying to access. Example: furniture.abc electronics.abc Few other points: I am doing all this stuff in shared hosting and don''t have access to IIS
推荐答案据我所知,您不能按照您描述的方式进行操作.您将需要访问您的网站控制面板并在其中添加子域,因为需要将公共IP分配给该子域名. 希望这有道理 As far as I am aware you can''t do this in the manner you are describing. you will need to have access to your websites control panel and add the subdomain there as a public ip will need to be assigned to the subdomain name. Hope this makes sense
更多推荐
如何动态创建虚拟子域
发布评论