5

I have a GoDaddy account with a domain and hosting, and I see that I can forward the subdomains in https://dcc.godaddy.com/ or redirect subdomains in Hosting->Settings->"URL Redirects".

What's the difference between redirecting of forwarding a subdomain?

3 Answers 3

5

For GoDaddy, forwarding is redirecting every single URL on a domain to another domain using 301 redirects. This is a free service (or at least included at no extra charge with domain registration).

With forwarding here are some examples of what happens:

  • http://example.com/ 301 redirects to http://myrealdomain.tld/
  • http://example.com/page.html 301 redirects to http://myrealdomain.tld/page.html
  • http://example.com/directory/ 301 redirects to http://myrealdomain.tld/directory/

Godaddy offers URL redirects as part of hosting (a paid service). You have a lot more control over the redirects with hosting. Here is their documentation about redirecting using hosting. You can:

  • Control the type of redirect (301 vs 302)
  • Redirect the entire domain like forwarding
  • Redirect just a specific path on the domain
  • Using Linux cPanel, redirect a wildcard path
3
  • Forwarding is exactly what I want to do and it works for http://example.com/ to http://myrealdomain.tld/, but the relative paths are not working...does this take a while to go into effect.
    – JoeFletch
    Jul 19, 2015 at 13:42
  • @JoeFletch It does not usually take long to go into effect. Make sure that you are using the correct type of forwarding. Only 301 and 302 redirects without masking preserve the path. Jul 20, 2015 at 20:53
  • Yes! It took a few hours to go into effect! Thanks for your reply!
    – JoeFletch
    Jul 21, 2015 at 18:22
3

Forwarding and URL is equivalent to Redirecting an URL. Is the same concept. You can use the words interchangeably.

However, while redirecting normally refer to the practice of sending an HTTP 30x status code (generally 301 for permanent and 302 for temporary redirects) the word forwarding assumes a broader meaning. In fact, several companies (including GoDaddy) provides different type of forwarding:

  • forward (redirect)
  • forward with masking

Forwarding an URL using the masking technique means instead of redirecting to the target transparently, the target URL is opened in a frame so that the visitor will always see the source URL in the address bar.

3

A forward is performed server side and a redirect is performed client side.

When you forward something, the server forwards the request to another server/page and allows them to handle the request. This can be totally transparent as far as the client is concerned and even mask the URL. If you forward example.com to example.net then the end user will still see example.com in the address bar whilst actually browsing example.net

When you redirect, you issue a response back to the client telling them to go elsewhere. If the user navigates to example.com and you redirect them to example.net, you generally send a 30x response with the address you want them to go to. The user's browser then makes a second request to example.net and navigates there manually.

1
  • 1
    While your answer is correct in some contexts, this is not how GoDaddy uses the terminology. This would be the correct difference between forwarding and redirecting in the context of the Java Servlet framework. Nov 5, 2013 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.