Note that there are some explanatory texts on larger screens.

plurals
  1. POCustom URL/Domain (CNAME alias?)
    primarykey
    data
    text
    <p>I am creating an application in a LAMP stack and I want to provide the user with the ability to use their own domain instead of a subdomain of my site. eg.</p> <p>Instead of: <strong><a href="http://some_user.mysite.com" rel="noreferrer">http://some_user.mysite.com</a></strong></p> <p>They will use: <strong><a href="http://store.some_user.com/" rel="noreferrer">http://store.some_user.com/</a></strong></p> <p>I know there are a few companies that provide this using CNAME records. (<a href="http://help.bigcartel.com/articles/14-using-a-custom-domain" rel="noreferrer">http://help.bigcartel.com/articles/14-using-a-custom-domain</a>) however I'm not sure how they achieve this end-to-end. </p> <p>My questions are:</p> <ol> <li><p>What is this process called? (So I can research this further if need be)</p></li> <li><p>What do I need to do to provide this? ie. What do I need to do on the DNS, apache and php side to get this working? </p></li> </ol> <p>Any advice, links or code snippets would be greatly appreciated.</p> <p>Thanks</p> <hr> <p><strong>UPDATE</strong></p> <p>So far I have been able to set up the wildcard DNS entry however I'm still having problems with the CNAME record resolving to the other domain. eg.</p> <p><a href="http://store.weareunified.com/" rel="noreferrer">http://store.weareunified.com/</a> -> <a href="http://weareunified.joshstuart.com.au/" rel="noreferrer">http://weareunified.joshstuart.com.au/</a></p> <p>weareunified.com (<strong>this is a test user host</strong>) DNS</p> <pre><code>weareunified.com. A 111.67.3.227 store CNAME weareunified.joshstuart.com.au. </code></pre> <p>joshstuart.com.au (<strong>This is the primary application host</strong>) DNS</p> <pre><code>joshstuart.com.au. A 111.67.3.227 * CNAME joshstuart.com.au. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload