Jump to content

301 Redirect Unix


Mark775

Recommended Posts

I would like to redirect my old domain to my new domain.

 

I'm using network solutions for a host, and I haven't assigned my old domain to my web hosting package yet because I have forwarding set up to the new domain, and I want to make sure I have the right code before I end the forwarding and transfer the domain.

 

In my .htaccess file my code is:

 

html>redirect 301 / http://www.samcowholesalesales.com/ </html>

 

Is that all there is to it?

 

Right now since I haven't assigned a Domain, you can view the site at http://035e970.netsolhost.com/

When you go to it, it returns an internal server error. Is that because I have the redirect file but have not assigned a domain?

 

Thanks

Mark

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...