Everyone has seen your blog. They often stick to the syntax of:
But they are individuals subdomains REAL, or could they be just hidden by
mod_rewrites within the
.htaccess or something like that?
Also, does getting many subdomains on the server slow it lower? I have become mixed solutions of these questions.
I'm considering creating a blogging website, and I wish to determine if my customers must have REAL subdomains, or simply possess the subdomains point to the other page.
An amount it mean for any subdomain to become "real" or otherwise?
You are able to securely have 100s of 1000's or countless subdomains located on one web server. What matters most is overall system traffic.
The domain names needn't be bought and registered individually as whenever you purchase a domain title (example.com, example.org, etc.) you basically have the authority to add an arbitrary quantity of subdomains into it and point them anywhere you please.
The domain names are really the meaning the site's DNS configurations need to be set up to ensure that anyone's browser knows where
sub.domain.com indicates. Most sites having a format as if you pointed out have setup "wildcard" DNS rules to ensure that demands to
(anything).example.com points to the same location, after which the demands are taken care of by whether script around the server or even the server configuration itself by way of virtual hosts.
The scenario you describe I believe might be best handled should you setup a wildcard record in your domain to suggest
*.example.com to some single location in your server, after which setup a script in certain programming language at this place to display the best information based on what that domain states.
The next tutorial provides a good run-lower of methods to complete just that using Apache server and PHP with CodeIgniter. if you are not programming with PHP or you won't want to use CodeIgniter, the concepts stay the same and also the tutorial could be generalized from fairly easily.
Exactly what do you mean by REAL subdomains? A subdomain is simply a domain that may be put into the primary domain. Take, for instance, yahoo.com. They are able to make games.yahoo.com or other things they need!
Subdomains don't really lag your website, I have not experienced that anyways, and they're one such factor and so i not convinced will be a problem.
As lengthy because the subdomain doesn't exist you are able to mask the URL and also have it perform an action with different user entering the 'fake' sub domain names path.
You could do Only if you include code such as the following up of the index.php in the
<?php $mask = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] if ( $mask == "http://blog.blogsite.com/" ) world wide web.blogsite.com/' ) ?>
Alternatively you can produce a new iframe for your specific user, rather than delivering these to the primary site.