+ Reply to Thread
Results 1 to 3 of 3

Thread: Create custom error pages for each subdomain

  1. #1
    Junior Member Dave is on a distinguished road
    Join Date
    Jan 2012
    Posts
    9

    Question Create custom error pages for each subdomain

    Hi, can I create (and set them) custom error pages for each subdomain?
    I don't know how can I do it, the error pages, are only for the principal domain, not subdomains, is there any way to make some error pages (401, 403, 404 and 500) for the subdomains? (equal like the prinpal domian or different, I don't mind it) but I can't make an error pages for subdomains, thanks.

    Kind regards.
    Dave.

  2. #2
    Super Moderator Modestas is on a distinguished road Modestas's Avatar
    Join Date
    Jun 2011
    Posts
    1,859

    Re: Create custom error pages for each subdomain

    Hello,

    You can define custom error pages in .htaccess file. For example, put the following line in .htaccess file:
    ErrorDocument 404 /404page.html

    You can find more information about this here Custom 404 Error | customize your server error messages with .htaccess

  3. #3
    Junior Member Dave is on a distinguished road
    Join Date
    Jan 2012
    Posts
    9

    Re: Create custom error pages for each subdomain

    Quote Originally Posted by Modestas View Post
    Hello,

    You can define custom error pages in .htaccess file. For example, put the following line in .htaccess file:
    ErrorDocument 404 /404page.html

    You can find more information about this here Custom 404 Error | customize your server error messages with .htaccess
    Thanks a lot, it's that I need, really, thanks

    Kind regards.
    Dave.

+ Reply to Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34