Change website in /var/www from web9 to web29

Discussion in 'Installation/Configuration' started by rmenzies, Feb 6, 2007.

  1. rmenzies

    rmenzies New Member

    Fixed my previous DNS issue by deleting my website in ISPConfig. One problem. now www.stingray-webdesign.com in /var/www points to /var/www/web9 instead of the newly created site /var/www/web29. Can someone explain how to change the www.stingray-webdesign.com in /var/www so it points to the right location. Thank you.
     
  2. jonwatson

    jonwatson New Member


    I would think it's just a symlink, no? Something like

    ln -s /var/www/www.stringray-webdesign.com /var/www/web29

    I'm always getting the ln command backwards, though. Check it out before using it.
     
  3. falko

    falko Super Moderator Howtoforge Staff

    It's the other way round: :)
    Code:
    rm -f /var/www/www.stringray-webdesign.com
    ln -s /var/www/web29 /var/www/www.stringray-webdesign.com
     
  4. jonwatson

    jonwatson New Member

    Of course it is :)
     

Share This Page