Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Catch-all for domain in the Shared & Semi-Dedicated forum
For emails there is a feature call catch-all; Example, I have an email created jaguar@jaguarpc.com . I just need to create a default email in ...

  1. #1
    JPC Member
    Join Date
    May 2006
    Posts
    1

    Catch-all for domain

    For emails there is a feature call catch-all;

    Example, I have an email created jaguar@jaguarpc.com.

    I just need to create a default email in cpanel, and it will capture all unrouted emails (like jaguat@jaguarpc.com).

    How about domains? If my domain is jaguarpc.com, is there a feature to link all unrouted extensions to it.

    Example, jaguarpc.com/index.html is created, if users mistype it to jaguarpc.com/indexl.html, is there any way to link them to a particular page, instead of showing an error of page not found.

    Kindly advise.

  2. #2
    JPC Member
    Join Date
    May 2006
    Location
    The Stars!
    Posts
    46
    You can do this through a .htaccess file.

    Create a text document and name it ".htaccess". Enter entries such as the following:

    Redirect /indexl.html http://www.jaguarpc.com/index.html
    Upload it to your public_html folder and thats it. Test it of course .


    Here is more information:

    http://www.javascriptkit.com/howto/htaccess7.shtml
    Sarah :c)

    Customer Service Representative
    Jaguar Technologies, LLC

  3. #3
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,307
    I think he's looking for a catchall so that ANY 404 will go to his index page.

    I would imagine that you could send your 404's to a file that is called 404.shtml and that file can do anything you like, including output a nice page. Generally it should continue to return a 404 error to the client (browser).


    I think that there's an option in CPanel to create custom 404 pages.

    I haven't played with it much, perhaps there's already an elegant solution out there. Good luck!

  4. #4
    JPC-Ben
    Guest
    The best way to do this is to create a Custom 404 Page through your cPanel. To do this simply create a basic HTML Page, highlight and copy the code. Open your cPanel and Click on the Section "Error Pages", you will see a list of error pages Click the 404 Error Page and paste the code into the following box. At the same time make sure that you upload any images needed for your custom page to the directory they referenced to i.e. When you create the page link all your pictures to a domain level link and not a relative link (e.g. http://www.desireddomain.com/images/404pic.jpg). Save the 404 and it will appear in your root public_html folder as 404.shtml.

    I hope this helps

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •