title: How can I refer to a relative subdomain in HTML?
body: <p>Let's say I have a website which is accessed by multiple domains, e.g. <code>domain1.com</code> and <code>domain2.com</code>.</p>
  
  <p>If I have a relative link, such as <code>href="/wiki"</code>, then no matter what domain name I access the website by, that link will take me to the correct place.</p>
  
  <p>Lets say instead I wanted to use <code>wiki.domain1.com</code> and <code>wiki.domain2.com</code>, is there some way I can make a link to this relative to the domain name?</p>
  
  <p>If not, is there an elegant way to handle a link such as the wiki link above when multiple domains point to the same server?</p>