I have a domain1.com with - removed - and a hosting plan with it. I recently purchased another domain2.com from a seller on godaddy.com. That domain is with goDaddy.com.
I want to redirect all request from the "domain1.com" to "domain2.com". So in godaddy there was this option called "Forwarding" where i could enter my destination domain "domain2.com" and select 301 or 302. I selected 302. And now whenever i hit domain2.com in my browser url it gets redirected to domain1.com
However when i enter /http://www.domain2.com (with the /www.) it does not redirect, it opens up the web page which was configured before i purchased the domain from the seller.
What should I change ?
I want to redirect all request from the "domain1.com" to "domain2.com". So in godaddy there was this option called "Forwarding" where i could enter my destination domain "domain2.com" and select 301 or 302. I selected 302. And now whenever i hit domain2.com in my browser url it gets redirected to domain1.com
However when i enter /http://www.domain2.com (with the /www.) it does not redirect, it opens up the web page which was configured before i purchased the domain from the seller.
What should I change ?