• Hello,

    I have WordPress multisite installed on my primary domain tintclick.com and I created subdomain as ‘https://tintclick.com/cutestuff’. I bought another domain from Hostgator named cutestuff.in and now I want to map my domain cutestuff.in to my WordPress subsite ‘https://tintclick.com/cutestuff’ so that whenever someone visits cutestuff.in, they see the content from ‘https://tintclick.com/cutestuff’ and the address bar should also say cutestuff.in.

    I followed a few articles and did the following:
    1) Added cutestuff.in as ‘Addon Domain’ on Hostgator.
    2) As cutestuff.in is bought from Hostgator and my hosting server is also from Hostgator so the DNS Name Servers are already pointing to Hostgator’s server.
    3) I edited my subsite and changed ‘Site Address (URL)’ from https://tintclick.com/cutestuff to cutestuff.in.
    4) I also added the below line to my ‘/public_html/wp-config.php’ file:
    define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’]);

    And I am receiving the following error:
    It appears you don’t have permission to access this page.403 Error. Forbidden.

    It would be of great help if anyone can point out where am I going wrong. Do I need to add ‘A’ record or ‘CAA’ record or something? Or Do I need to install SSL certificate on cutestuff.in separately?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I created subdomain as ‘https://tintclick.com/cutestuff’.

    That’s a subdirectory, not a subdomain.

    1) Added cutestuff.in as ‘Addon Domain’ on Hostgator.

    An Addon Domain allows you to host two DIFFERENT websites in DIFFERENT folders under the same cPanel account. For WordPress Multisite, the different subsites (sub-domain or subdirectory) do not live in separate folders… these are virtual folders that share the same parent WordPress folder.

    So in other to sue the Addon Domain method, you need to somehow trick cutestuff.in to use the same root folder as tintclick.com (most likely public_html).

    And I am receiving the following error:
    It appears you don’t have permission to access this page.403 Error. Forbidden.

    See above. The reason you’re getting the 403 error is that cutestuff.in is currently pointed to an empty folder on your site, and not the folder that contains the WordPress installation.

    The easier way to solve your problem is to setup cutestuff.in as a PARKED DOMAIN on top of https://cutestuff.in, as parked domains automatically use the same folder (ie DocumentRoot) as the domain they’re parked on.

    Do I need to add ‘A’ record

    cPanel’s Addon Domain / Parked Domain feature does this for you automatically.

    CAA’ record or something? Or Do I need to install SSL certificate on cutestuff.in separately?

    While you may need these for security, they have nothing to do with why your multisite domain mapping is not working.

Viewing 1 replies (of 1 total)
  • The topic ‘Domain mapping in multisite without any plugin | 403 Error. Forbidden.’ is closed to new replies.