title: Multiple GitHub Pages and custom domains via DNS
body: <p>I want to have one user page and multiple project pages hosted by <a href="http://help.github.com/pages" rel="noreferrer">GitHub Pages</a> but available under <strong>ONE</strong> custom domain (with subdomains for each GitHub Pages repository, of course). So my goals are as follows:</p>
  
  <ul>
  <li>One user page (<a href="http://florianwolters.github.com" rel="noreferrer">http://florianwolters.github.com</a>) available under <a href="http://blog.florianwolters.de" rel="noreferrer">http://blog.florianwolters.de</a>, <a href="http://www.florianwolters.de" rel="noreferrer">http://www.florianwolters.de</a> and <a href="http://florianwolters.de" rel="noreferrer">http://florianwolters.de</a>.</li>
  <li>As many project pages as I wish (e.g. <a href="http://florianwolters.github.com/pear" rel="noreferrer">http://florianwolters.github.com/pear</a> available under <a href="http://pear.florianwolters.de" rel="noreferrer">http://pear.florianwolters.de</a>.</li>
  </ul>
  
  <p>As of my current understanding, GitHub Pages do only allow <strong>ONE</strong> CNAME resource record for a page (both user pages and project pages) defined in the <code>CNAME</code> file in the root of a Git repository.
  I already tried out many things (playing around with DNS records and header redirects at my domain provider <a href="http://euserv.com" rel="noreferrer">EUserv</a>, but I can only access my GitHub user pages under one URL (<a href="http://blog.florianwolters.de" rel="noreferrer">http://blog.florianwolters.de</a>). I am aware that DNS changes can take up until two days.</p>
  
  <p>Can somebody explain to me, how I can achieve the goals described above? I can not believe that this is not possible but I am also no expert for DNS, etc.</p>
  
  <p>If the above is not possible: What is your suggested workaround? I do want to access all my GitHub pages under one domain (and the subdomains of that domain).</p>
  
  <h1>Resources</h1>
  
  <ul>
  <li><a href="http://help.github.com/pages/" rel="noreferrer">http://help.github.com/pages/</a></li>
  <li><a href="https://stackoverflow.com/questions/9082499/custom-domain-for-github-project-pages">Custom domain for GitHub project pages</a></li>
  <li><a href="https://groups.google.com/forum/?fromgroups#!topic/github/AaAuoDK44Ag" rel="noreferrer">https://groups.google.com/forum/?fromgroups#!topic/github/AaAuoDK44Ag</a></li>
  <li><a href="https://github.com/blog/315-cname-support-for-github-pages" rel="noreferrer">https://github.com/blog/315-cname-support-for-github-pages</a></li>
  <li><a href="http://code.lancepollard.com/custom-domain-github-pages" rel="noreferrer">http://code.lancepollard.com/custom-domain-github-pages</a></li>
  </ul>