Эта тема на forum.dklab.ru


Ivan_: Виртуальные субдомены и поисковики
Приветствую,

Есть задумка сделать виртуальные субдомены типа http://username.somesite.som наподобии как в http://moikrug.ru/
С технологией реализации такого я уже разобрался, но вот тут у меня вызвало смущение следующие строки из одной программки для реализации подобных решений:

Цитирую

Please also search more info on when you should subdomains.
Otherwise, Google or others Search engines may penalize your pages.


Не совсем понял, чем именно такой механизм может не понравиться поисковикам, и так ли это вообще на самом деле?


Полный текст:

Gitme url2subdomain
The script help us to serve content in url instead of serving the content in subdomain
(example; www.domain.com/file.html/ -> file.domain.com ).
You should have wildcarded DNS configuration to use the script.
Please also search more info on when you should subdomains.
Otherwise, Google or others Search engines may penalize your pages.

Demo : Download

what is wildcarded DNS ?
A "normal" DNS entry looks like this: "www.yourdomain.com. IN A 127.0.0.1"
A wildcarded DNS entry looks like this: "*.yourdomain.com. IN A 127.0.0.1"
This is possible no matter if you are on a shared IP or not.

If you are using an Apache webserver, it's most likely required to add a "ServerAlias" to the apache config-file. This has to look like this: "ServerAlias *.yourdomain.com"

Most hosting companies set these wildcards if you ask them to do so. But you should better ask your host before you buy the script if they are going to make the required changes.

By the way: in most cases you can test if your domain is already wildcarded by going to www.TEST.yourdomain.com
If you don't get a standard "server not found" message of your browser it's most likely already wildcarded

Эта тема на forum.dklab.ru