当你自动创建用户注册子域它创建一个新的网站或提供外观的网站? [英] When you auto-create subdomains on user signup does it create a new website or gives appearance of a website?

查看:205
本文介绍了当你自动创建用户注册子域它创建一个新的网站或提供外观的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果子域名在注册时成为网站的创建,还是他们只是给了错觉,以为他们的网站有点像example.com/username?

I am wondering if subdomains that are created upon signup become websites or do they just give the illusion that they are websites sort of like example.com/username?

我想创建类似user.domain.com并不能真正找到一些有用的办呢?有没有一种方法,我做到这一点,这样我可以允许自定义该帐户的客户呢?

I am trying to create something like user.domain.com and can't really find something helpful to do it? Is there a way I do it so that i can allow customizations for the account for clients?

我需要他们像独立的网站,这样我可以去根据客户的要求进行自定义,那么什么是去了解它的最好方法是什么?

I need them to be like standalone websites so that i can go and customize them upon client requests, so what is the best way to go about it?

推荐答案

也有人回答你的问题的要点,但我也想谈谈你所谓的网站的假象。

Others have answered the main points of your question, but I did want to touch on what you call the "illusion" of a website.

有几种不同的方式来服务于一个域,子域或目录给定的应用,从静态文件,单个文件处理的每个请求,无论是要求什么道路或域名。没有方法或多或少是真正的比任何其他。我所说的幻觉,唯一的方法是使用框架背后的另一个网站屏蔽掉一个网站,这通常是一个非常糟糕的主意。 (尝试书签上一个网站,你点击周围的网址不会改变。)

There are a few different ways to serve a given application in a domain, subdomain or directory, from static files, to a single file handling every request no matter what path or domain was requested. No method is more or less "real" than any other. The only method I would call an "illusion" would be a website masked behind another website using frames, which is generally a Really Bad Idea. (Try bookmarking on a site where the URL doesn't change as you click around.)

这篇关于当你自动创建用户注册子域它创建一个新的网站或提供外观的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆