How can I do 301 redirect with Godaddy-Win host package?

6 replies
Hi everybody
I have a hosting account in godaddy.I want to redirect my xxx.com to www.xxx.com

But I can't to constitute a .htaccess file beacuse I have a Windows Hosting Package in Godaddy.
How can I redirect my first url to second url with Godaddy-win web package?
Thanks.
#301 #godaddywin #host #package #redirect
  • Profile picture of the author mattalways
    Why not just switch from Windows? It's a pretty quick switch and costs nothing on Godaddy.
    Signature

    Quit wasting your money! If you need a website, get me to do it right! I'll probably even do it for less! Design/Development/Software, I'm your guy! matt@snidge.com
    {{ DiscussionBoard.errors[1844871].message }}
  • Profile picture of the author sdnsoft
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[1872085].message }}
    • Profile picture of the author alkantenik
      How can I do that my friend?
      I think I should use microsoft visual studio..But I have not this program and it's 3 gb for download.
      Can you explain more?
      Signature
      Wordpress Designer
      Skype: wordpress_alkan
      {{ DiscussionBoard.errors[1872390].message }}
      • Profile picture of the author roniza
        Here's how I did it:

        1) Create a asp.net web.config file e.g. by creating a default web site in VS
        2) Add the following httpRedirect to the system.webServer part:


        <system.webServer>
        ...
        <httpRedirect enabled="true" exactDestination="true"
        httpResponseStatus="Permanent">
        <add wildcard="*/index.html" destination="/joomla" />
        <add wildcard="*/support.html" destination="/joomla/index.php/support" />
        <add wildcard="*/contactus.html" destination="/joomla/index.php/contact" />

        </httpRedirect>
        ...
        </system.webServer>

        3) copy the web.config file to the Joomla directory on your godaddy windows hosting shared instance.

        You can see it in action on my hl7 web site (look at my profile) www dot hl7kit dot com

        Voila!
        {{ DiscussionBoard.errors[4977594].message }}
  • Profile picture of the author mileagedriver
    alkantenik, very simple..godaddy have an option to perform redirection. You please check with them if coding is an issue for you.
    {{ DiscussionBoard.errors[4977732].message }}
  • Profile picture of the author mayankgangwal
    Go to the folowing link

    bigfin.com/blog/301-redirect-godaddy/
    {{ DiscussionBoard.errors[6037575].message }}

Trending Topics