How to Redirect & Mask With HostGator

HostGator is a popular hosting company for Internet marketers. The user-friendly layout offered with the administrator tools in your hosting account make it possible to perform many tasks that would otherwise require advanced programming knowledge. However, some people still get stuck when they try to redirect and mask with HostGator. The idea, for example, is to redirect a visitor who types "siteA.com" in their browser to "siteB.com." It is called a mask because the browser still shows "siteA.com" in the address bar.

Things You'll Need

  • Internet connection
Show More

Instructions

    • 1

      Navigate to the free Web Start Help masked forward-code generator endorsed by HostGator (see Resources).

    • 2

      Scroll down to the second section titled "How do I create a masked forward? (frames)."

    • 3

      Type the title you want to appear at the top of your Web browser when someone visits your domain in the first field.

    • 4

      Type the full URL of the website where you want to redirect the domain in the second field. For example, if you want "siteA.com" to redirect to "siteB.com," enter "http://www.siteB.com" in the second field.

    • 5

      Click the submit button to generate the HTML code.

    • 6

      Launch Notepad from the "Start" menu.

    • 7

      Copy and paste the HTML code generated earlier into the Notepad window.

    • 8

      Click "File" and "Save As."

    • 9

      Type "index.html" without the quotes for the file name and choose "All files" for the file type. Choose the desktop for the save location. Click the "Save" button.

    • 10

      Log in to your HostGator hosting account.

    • 11

      Click the "File Manager" icon in the "Files" section of the cPanel.

    • 12

      Select the site you wish to redirect from the "Document root for" drop-down menu. This would be "siteA.com" if you want to redirect from "siteA.com" to "siteB.com." Click the "Go" button.

    • 13

      Click the "Upload" icon at the top of the screen.

    • 14

      Check the box beside "Overwrite existing files" below the file upload fields.

    • 15

      Click the "Browse" button and select the "index.html" file from the desktop. Click the "Open" button to upload the file and put the redirect mask in place.

Related Searches:

References

Resources

Comments

Related Ads

Featured