Link to home
Create AccountLog in
Avatar of Ali Saad
Ali SaadFlag for Kuwait

asked on

Redirect URL Problem

i have a new domain from registrar , say the domain name is "for explanation only " 
i want to redirect any visitor who types OR  to another url say ""
I have made the settings as showing in the attached image
The probelm is
- When typing  it SUCCEFULLY Redirect to
BUT If type  without "www."  it dosnt redirect
By the way the is mine but from other registrar
Is there is any other setting should i set
 Please help

Avatar of Dushyant Sharma
Dushyant Sharma
Flag of India image

you can try creating a CNAME record. keep hostname blank and under address type

hope this helps
Avatar of Kent Keller
Or just just use the one below with the * for all others with a URL redirect to also. Basically identical to the www line above but on the * line.
just add an new alias as * in cname section it would work.
even in .htaccess file u can define it as.

AddType text/x-component .htc
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mywebsite\.com [NC]
RewriteRule ^(.*)$$1 [R=301,L]

but * would resolve ur all issue.
u can just edit www to *
Avatar of Ali Saad


Hi ddsh79:
I did what you saie but ther's errors comes up
"Either HostName or Address is blank."
so i cant save
Avatar of Insoftservice inso
Insoftservice inso
Flag of India image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
you can also try A record as *

host name                   Address                address
*             address

You have to change the @ record. @ means the current scope of the DNS configuration, which is the domain name.

It should be the same (or similar) as the www entry.

Please keep in mind that this redirecting is NOT a DNS thing, it happens at the HTTP level. The DNS provider probably also provides a redirecting service.
Any luck?