Visiting the site with the ip adress

Discussion in 'Installation/Configuration' started by Jorem, May 15, 2006.

  1. Jorem

    Jorem New Member

    I have a problem with reaching my website with the ip adres.

    On my old system (Mandrake) I was able to reach a website by typing my second ip adres followed by /~user/ . Now with my new installation on Debian I got everything to works except for this reaching the website by ip/~user/ .

    Do you know where I have to change the config to be able to reach the website this way?

    Thanks for your help
     
  2. falko

    falko Super Moderator ISPConfig Developer

    This doesn't work. You must always use the domain because ISPConfig configures name-based vhosts; otherwise you'll see the shared IP page.
     
  3. Jorem

    Jorem New Member

    This was the case for my primary ip adres.

    But when I used my secondary ip adres it worked great on Mandrake/Mandriva.

    So I don't want to do this on my primary ip, but only on my secondary ip adres. When I type my secondary ip in the browser I get the apache dummy page now, just like on Mandriva. But when I type /~user/ behind the sec. ip it doesn't work.

    I hope you understand me.

    For example:
    http://www.domain.com/
    http://00.00.00.10/ (primary ip, you see www.domain.com)

    But also:
    http://00.00.00.11/~domain/ (secondary ip, domain is username in this case. you also see www.domain.com)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig uses only namebased hosts as falko posted, so you will have to use the domain and not the IP.
     
  5. Jorem

    Jorem New Member

    I found out how it works.

    By changing the apache module userdir you are able to visit the website with the second ip address followed by /~username/

    By changing the module from Userdir public_html to web , and path to dir from /home/www/* to /home/www/*/web

    Hope that someone else with this problem can do something with this answer.
     

Share This Page