How to setup /~username/domain.com?

If want to control all the domains, before they resolve, then that could be done by creating some symbolic links. Let’s say you have domain12.com and domain13.com, which you want to  to access. You’d run the below commands as the user through ssh:

cd /home/username
rm -f public_html
mkdir –mode=755 public_html
cd public_html
ln -s ../domains/domain12.com/public_html domain12.com
ln -s ../domains/domain13.com/public_html domain13.com

Alternatively, if you just wish to switch which domain is being used for /~username, you can do so by logging into the User Panel -> Domain Administration -> select the active domain to use and click “Set as Default”. This will setup the symbolic link for the selected domain for /~username.

  • 1 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

Can I use my domain name or must I use my IP address as the hostname for FTP?

Using your IP address (192.168.22.22  is an example IP address) is the preferred entry for...

Can you transfer my sites from my current host to my new VPS?

Yes. We will transfer all of your sites free* of charge and will assure that you experience no or...

Do you allow MP3 files? Do you allow streaming of videos?

Yes we do with our special plans at http://hostripples.in/avs-hosting.php

Do you support Cold Fusion?

We do not support or Cold Fusion on our shared hosting servers, however you are more than welcome...