← Hosting

[AJUDA] WildCard DNS ... Configuração em cPanel/WHM

Lida 6622 vezes

Offline

STronic 
Elite
Mensagens 546 Gostos 8
Feedback +5

Troféus totais: 30
Trófeus: (Ver todos)
Mobile User Search Apple User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

Pessoal, estou a tentar instalar o WP MU, estou a tentar colocar o endereço do tipo user.dominio.tld .. para isso preciso definir os "WildCard DNS".

No config do WP MU diz isto:

Citar
Warning! Wildcard DNS may not be configured correctly!

To use the subdomain feature of WordPress MU you must have a wildcard entry in your dns. The installer attempted to contact a random hostname (20aea6.domain.tld) on your domain but failed. It returned this error message:
Could not open handle for fopen() to http://20aea6.domain.tld

From the README.txt:

    If you want to host blogs of the form http://blog.domain.tld/ where domain.tld is the domain name of your machine then you must add a wildcard record to your DNS records.
    This usually means adding a '*' hostname record pointing at your webserver in your DNS configuration tool. Matt has a more detailed explanation on his blog. If you still have problems, these forum messages may help.

You can still use your site but any subdomain you create may not be accessible. This check is not foolproof so ignore if you know your dns is correct.

Explanation = http://ma.tt/2003/10/10/wildcard-dns-and-sub-domains/
forum messages = http://mu.wordpress.org/forums/tags/wildcard


Alguem me pode "traduzir" isto para colocar no cPanel ? ou onde posso fazer isso ?
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Bem, para te ser sincero, no cPanel não sei onde se faz, porque não uso.

No entanto podes fazer manualmente pelo terminal, é muito fácil e basicamente já está tudo explicado nos links que referiste.

Se der para fazer através da interface do cPanel, melhor. Espera que alguém habituado a cPanel te saiba responder onde são as configurações de DNS para um domínio específico.

Como está explicado, o que tens de fazer é alterar as configurações de DNS (named / bind) e editar a configuração do apache para o domínio onde pretendes usar essa funcionalidade.
Offline

STronic 
Elite
Mensagens 546 Gostos 8
Feedback +5

Troféus totais: 30
Trófeus: (Ver todos)
Mobile User Search Apple User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

Já fiz manualmente... mas o cPanel está-me a dar a volta... :S
vou insistir.. :P
Offline

asturmas 
Administrador
Mensagens 19734 Gostos 50
Feedback +2

Troféus totais: 39
Trófeus: (Ver todos)
Mobile User Windows User Super Combination Combination Topic Starter 100 Poll Votes 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

Para o MU além de teres de configurar as WildCard DNS tens de editar o ficheiro de configuração do apache para que os subdominios funcionem correctamente.
Offline

STronic 
Elite
Mensagens 546 Gostos 8
Feedback +5

Troféus totais: 30
Trófeus: (Ver todos)
Mobile User Search Apple User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

Para o MU além de teres de configurar as WildCard DNS tens de editar o ficheiro de configuração do apache para que os subdominios funcionem correctamente.


Supostamente
ServerAlias *.dominio.tld dominio.tld


mas o cPanel ao entrar em qq_coisa.dominio.tld está-me a enviar para: http://dominio.tld/cgi-sys/defaultwebpage.cgi

:S
Offline

STronic 
Elite
Mensagens 546 Gostos 8
Feedback +5

Troféus totais: 30
Trófeus: (Ver todos)
Mobile User Search Apple User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

Já deitado na cama, testei com o iPhone e já funcionou ;)
thanks pelas dicas
Offline

betanalista 
Membro
Mensagens 2564 Gostos 0
Feedback +18

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Estou com o mesmo problema

Pelo cpanel vou a "Advanced DNS Zone Editor"

sigo o tutorial: http://www.actiononline.biz/web/enabling-wildcard-dns-on-cpanel-servers/

mas não aceita porque não me aceita o nome (o asterisco), da-me o seguinte aviso/erro "Name must be a domain with an optional period at the end."

 :-?
Offline

cjseven 
Administrador
Mensagens 1809 Gostos 26
Feedback +3

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

pelo aviso:

esperimenta colocar um ponto final no fim do domínio, tipo:

dominio.com.
Offline

betanalista 
Membro
Mensagens 2564 Gostos 0
Feedback +18

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

já tinha experimentado isso e não resulta  :-?