Multiple web hosting one server

Discussion in 'HOWTO-Related Questions' started by Dameats1, Feb 5, 2020.

  1. Dameats1

    Dameats1 New Member

    Hello,
    The Perfect Server - Ubuntu 18.04 (Nginx, MySQL, PHP, Postfix, BIND, Dovecot, Pure-FTPD and ISPConfig 3.1) ( Im a noob, enthusiast)
    I have the server up and running with the above mention configuration and its running perfect (i host my businnes webpage there).
    I showed to my brother and he asked me if i can host a webpage for his business ? and he bought his domain .
    How can i easily accomplish this task ?? please take in consideration the above mention configuration .

    Thank you very much !




     
  2. Th0m

    Th0m Active Member HowtoForge Supporter

    Point the DNS records for his domain (so example.com. and www) to your server, and under make a new website under Sites.
     
  3. Dameats1

    Dameats1 New Member

    Hi Th0m ,
    So i did that but still when i type his domain brother.com shows my site .
     
  4. Th0m

    Th0m Active Member HowtoForge Supporter

    Did you creathe the site under Sites, with example2.com as domain? (Where example2.com is the is the url of your brothers website)
     
  5. Dameats1

    Dameats1 New Member

    yes i did and installed word press on it . so even when i go to brother.com/wp-admin is still taking me to my wp login site .
     
  6. Th0m

    Th0m Active Member HowtoForge Supporter

    Can you post a screenshot of the site settings?
     
  7. Dameats1

    Dameats1 New Member

    Here it is , strange thing is that when i go to the root folder /var/www/clients/client0/web10 the web folder is marked with an X
     

    Attached Files:

  8. Th0m

    Th0m Active Member HowtoForge Supporter

    Try selecting your IP adress and see if it works. Where do you see the X?
     
  9. Dameats1

    Dameats1 New Member

    It worked , thank you very much man !!!
    would you know how to do it if i need to reroute to another server running in virtuallbox ?
     
  10. Th0m

    Th0m Active Member HowtoForge Supporter

    Point the DNS records to the IP adress of the other server (if it's behind a firewall you'll have to open port 80 (http) and 443 (https)
     
  11. Dameats1

    Dameats1 New Member

    Hi ,
    server and virtual server ( virtualbox ) have the same IPV6 IP .
     

Share This Page