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 in /var/www points to /var/www/web9 instead of the newly created site /var/www/web29. Can someone explain how to change the 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/ /var/www/web29

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

    falko Super Moderator ISPConfig Developer

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

    jonwatson New Member

    Of course it is :)

Share This Page