How can I use multiple domains in one htdocs?

  • Hi there,


    My problem is I have a domain:
    http://tigyisolutions.hu


    and I bought a new one:
    http://boxy.ws


    I want to make boxy.ws as an alias to http://boxy.tigyisolutions.hu, but I want to get the same for:
    http://boxy.tigyisolutions.hu/register.php
    and
    http://boxy.ws/register.php and I don't wanna change the domains to other when I use one...


    I'm sorry about my poor english.


    I tried to make a LINK

    Code
    1. ln -sd /var/www/virtual/tigyisolutions.hu/htdocs/boxy/htdocs /var/www/virtual/boxy.ws/htdocs


    It worked, but I got "No input file specified." error.


    Anyone can help me? The webiste is about 1TB, so I dont wanna just copy it. :-D

  • Per default it's not possible and inadvisable because of seo. But you can change the apache configs in /etc/apache2/sites-enabled/boxy.tigyisolutions.hu*.conf


    PS: after updating your imscp-system all changes will be destroyed.

    Edited once, last by mafioso ().


  • Per default it's not possible and inadvisable because of seo. But you can change the apache configs in /etc/apache2/sites-enabled/boxy.tigyisolutions.hu*.conf


    PS: after updating your imscp-system all changes will be destroyed.


    Actually it's done now. I and another programmer made a new config file and we made a htacces too. So it's working now. But I don't care about SEO, it a file sharing website, don't need SEO. Anyway, than you for quick reply.