How to point multiple domains to one master directory?

Discussion in 'Installation and Configuration in Windows and Linux' started by MittalP, Nov 9, 2009.

  1. MittalP

    MittalP Bit poster

    Messages:
    1
    Hello there,
    Currently I am setting up the control panel and adding domains to my control panel. Whenever I add a new domain name, it creates a new virtual directory in /var/www/vhosts/ directory and the domain will get pointed to that directory.
    For example, I added googlyfish.in and googlyfish.pk and 2 directories googlyfish.in and googlyfish.in are created in /var/www/vhosts/.
    Now what I want is when googlyfish.in is added, it creates a directory googlyfish.in is fine but when I add googlyfish.pk then I don't want to create a new directory but want googlyfish.pk to point to /var/www/vhosts/googlyfish.in.

    So do let me know how can I solve this issue. I tried to add the domain with different types of settings but still couldn't achieve what I am looking for.
    Kindly provided required help.

    Thank you
    - Mittal Patel
    Website development, PHP development, Wordpress / Magento / Joomla / x-cart / Zen-cart / Drupal / CodeIgniter / CakePHP / Symfony development company in India
     
    Last edited: Jun 21, 2012
  2. dimsuz

    dimsuz Bit poster

    Messages:
    3

Share This Page