Link to home
Start Free TrialLog in
Avatar of Methodman85
Methodman85

asked on

How to redirect URLs to the correct website

Hello,

I was wondering how URL redirection is handled.

Say for instance I type in google.com into my webrowser. How is it automatically redirected to www.google.com

Thanks!
SOLUTION
Avatar of James Murrell
James Murrell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Methodman85
Methodman85

ASKER

So are you saying that if I right click on my websites index.html file, select A redirection to a URL, and under local path type www.website.com
it would redirect to the www site?
Yes IIS Redirect In internet services manager, right click on the file or folder you wish to redirect Select the radio titled "a redirection to a URL". Enter the redirection page Check "The exact url entered above" and the "A permanent redirection for this resource" Click on 'Apply'
 
as always test in non production machines if unsure

 
It didn't work. I just want the www name to show in the url bar after the user types website.com without the www infront of it.
When I did this redirection website.com went to a Bing search.
and www.website.com didn't even load.
These aren't seperate sites, I'm not trying to redirect to another site, it's the same site, I just want the www infront.
Did I do something wrong, am I suppose to redirect the index.html file, or the entire website?
who is your domain name with?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial