Redirecting short http URL to main https domain
<p>I bought a short domain name so i can share short urls like </p>

<pre><code>http://xxx.xx/itemID
</code></pre>

<p>i've configured the short domain DNS to point to my server, now i'm editing the apache site conf and im not sure is correct procedure:</p>

<pre><code>&lt;VirtualHost *:80&gt; 
    ServerName xxx.xx 
    ServerAlias www.xxx.xx
    Redirect / https://longname.xx/
&lt;/VirtualHost&gt; 
</code></pre>

<p>basically I want this:</p>

<blockquote>
  <p><a href="http://xxx.xx/itemID" rel="nofollow">http://xxx.xx/itemID</a>  ==>  <a href="https://longname.xx/itemID" rel="nofollow">https://longname.xx/itemID</a></p>
</blockquote>

<p>what else do i have to do? how to edit the <code>htaccess</code> now?</p>