Apache CentOS Virtual Host – Linux

Learn how to set up a virtual host on Linux Apache CentOS 5. Virtual Host Diagram https://docs.google.com/drawings/pub?id=1nH1kGaD_A6LyjbUFWt_SLS8u3hFPEz3M0Z…

20 Responses

  1. Gabriel Ramirez says:

    Mintu, Just make sure that the database you are using for you website is
    ported over to the new installation; that is if you plan to keep the
    database on the webserver. You can just copy over your files to the new
    webserver installation it should be pretty straight forward unless you are
    using something specific to the windows environment like asp, aspx or
    msssql.

  2. Simon Saint-Gilles says:

    Could you not simply add “virtual-test” to the line in hosts which already
    begins 127.0.0.1, rather than add it as a new line?

  3. evilcrackers says:

    thanks a lot m8 you save my time 

  4. สมใจ จันสุกสี says:

    Hi Gab. Thanks for your teaching video. But I am the new admin for school.
    So. I want you to suggest me to do Step By Step. At the first. I installed
    the CenOS 5.5 on the last Friday. So. I want you to teach me about config
    the web server for our 15 teachers and 60 students. Because after this I
    will teach them about Joomla and WordPress but I can’t do the web server
    for them. I have the space in /var = 490 gb.
    Please let me know how can I do it. Thanks. My email is bungmoad@gmail.com

  5. janneman058 says:

    Great! Thanks! it realy worked for me 😉 Greetz from Holland!

  6. z3r0sky says:

    Thanks! it works. Help me alot

  7. sudhir5051 says:

    Excellent video!!! Good explanation keep it up..

  8. Mintu Ghosh says:

    Hi Gabe… thank you for the video. I have a question. for an example; I
    have made a website from godaddy.com which is loaded into a windows machine
    and people through the internet can login with their user credentials to
    that very website. Now, I wish to move the entire contents of the website
    to a Linux machine (Rhel6) and I want that the users should be able to
    access that website with the user credentials as they have always been able
    to when the website contents were on windows. thank you.

  9. sonicaema says:

    for mine it said : -bash: gedit: command not found what should i do? when I
    ping the ip address, it said “Destination Host unreachable” any help?

  10. Gabriel Ramirez says:

    Thank you friend.

  11. Gerardo Mena says:

    excellent explanation thanks

  12. djlowtek says:

    So if you have like 3 virtual hosts on ONE SINGLE ip address (your server)
    and its on the internet…. the DNS servers will point the browser to your
    ip address, but how does apache know which folder to route it to??? Does
    the DNS server give apache more info? I don’t understand how the backend
    works here.

  13. pooyan balouchian says:

    Thanks. It’s a great video. It works for LOCALHOST, but what if I want to
    do the EXACT same thing on a remote webserver? Is that even possible?

  14. Gabriel Ramirez says:

    I’m glad it was helpful.

  15. TelevisionMagForum says:

    Very helpful. Thanks.

  16. zeid392 says:

    Thank you .. very helpful

  17. sealow08 says:

    Perfect video Gabe. Thanks for your help. Your server says 4am! You’re one
    hard working sysAdmin 🙂

  18. Gabriel Ramirez says:

    Sorry for the LATE response, I just noticed the comment. The Apache
    VirtualHost config file tells Apache where to route the request from the
    DNS server. I will include a link in the description that will shed more
    light, take a look.

  19. Gabriel Ramirez says:

    By “marketing servers” you mean webservers that have sendmail relay turned
    on or Zombie machines?

  20. Alfred Hu says:

    Hi Gabe, awesome video. Thanks!

Leave a Reply to Gabriel Ramirez Cancel reply

Your email address will not be published. Required fields are marked *