Virtual Hosts

Discussion in 'Server Operation' started by K_meleonu, Sep 11, 2006.

  1. K_meleonu

    K_meleonu New Member

    Hi,
    I am sorry if i am bothering you but i whould need your help once again.
    I have registered a 256 IP's block , my ISP forwarded them on my IP, i have the working on my server and i want to run psyBNC, eggdrops and stuff like this.
    Now, i want to make some virtual hosts for each of my IP's and i don't know how.
    I have reades some tutorials on the internet and i can't manage to make any vhost to work.
    If you know a trick or a god tutorial or someone can explain me how to make those virtual hosts please help me.
    I also have ISPConfig installed on that server.

    Thank you in advance,
    Alex.
     
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

  3. K_meleonu

    K_meleonu New Member

    Thank's but i have allready tryied to make some virtual hosts with ISPConfig and if i open mIRC and tipe /dns subdomain.domain.com i get the IP but if i try /dns ip i don't get the subdomain.domain.com .

    If someone has done this thing, this virtual hosts on his own server please tell me how step by step.

    Thank you
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you have a look at the link Ben posted?
     
  5. K_meleonu

    K_meleonu New Member

    Yes,
    I have triyed to make a virtual host like there buy id doesn't work.
    I thought that soneone from here has done this kind of thing before and can tell me how did it done it, or if someone know's another way, like a program or script witch does this.

    Thank you
     
  6. falko

    falko Super Moderator ISPConfig Developer

    It works exactly as described in the link. What exactly are you having problems with? Any error messages, also in Apache's error log?
    Do you want to create name-based or IP-based virtual hosts?
     
  7. K_meleonu

    K_meleonu New Member

    I have included the Include /path/to/vhosts.conf in httpd.conf, i have created a vhosts.conf in wich i have writed
    <VirtualHost 86.106.86.151>
    ServerName Kmeleonu.0ps.ath.cx
    ServerPath /web
    DocumentRoot /var/www/html/web3/web
    </VirtualHost>
    but when i connect to a irc server with a psyBNC with that ip or if i try /dns 86.106.86.151 the ip does not resolve to Kmeleonu.0ps.ath.cx.

    I get no errors after i make the whosts like the one above and restart the httpd service.

    Isn't the any program wich i could install and use for this vhosts?.

    Thank you,
    Alex
     
  8. falko

    falko Super Moderator ISPConfig Developer

    How do you mean that? Are you referring to the reverse DNS record?
     
  9. K_meleonu

    K_meleonu New Member

    Yes, i was talking about reverse DNS, you can do them from ISP Config panel by adding PTR records.

    I know it's a long time from the last post but in case someone else wants to know the answer to the problem, now it is posted here.
     

Share This Page