How to make my server live

Discussion in 'Installation/Configuration' started by Eviang, Jul 30, 2012.

  1. Eviang

    Eviang New Member

    Hi guys,

    I've been following Falko's guides for a couple of years now but for this new LAMP I want to setup I need some changes. I followed The Perfect Server - CentOS 6.3 x86_64 (Apache2, Courier, ISPConfig 3) guide and it works perfectly but I would need you guys to explain a couple of things if you would:

    1. If I want www.someurl.com to redirect to my server (via no-ip.org or whatever), how should I name my server?
    2. Besides the name change, what else should I change in the configuration so it's open to the web in a "secure" way?

      Besides those two basic setup questions, I would also need help with the following as I have no clue on how to do it:

    3. The web server will be on a ESXi-hosted machine. It has two HDDs and all my VMs run from the first one. I have a second disk (also known to ESXi as a second datastore). Besides making a virtual disk in that second datastore, how can I tell my web server to host every user's files (i.e. home directories) in that second disk?

    All the help will be greatly appreciated.

    Thanks in advance!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    That's up to you, but something like server1.someurl.com would be good (just make sure that there's an A records for that hostname as well) - don't just use the domain name without a subdomain as that could cause problems with Postfix.
     
  3. Eviang

    Eviang New Member

    Thanks Falko!

    One more question I have for you. I really wouldn't like to disable SELinux. Is there any chance that it will work with ISPConfig3? If not, how much insecure will my server be if I disable it?

    Thanks again!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    It's not insecure without SELinux at all. For example, Debian doesn't use SELinux, and it's not more or less secure than CentOS - in the end it all depends on what you do with the system and how you configure it. In my opinion SELinux is a PITA when you try to troubleshot problems, so if you want to do yourself a favour, switch it off.
     
  5. Eviang

    Eviang New Member

    All right! That's enough for me. Thanks a lot Falko!
     

Share This Page