Find the answer to your Linux question:
Results 1 to 4 of 4
I have 3 domains currently that I run websites on. I was wondering if it is possible to do the following: 1. I would like to be able to host ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    24

    A few questions about setting up web and mail servers


    I have 3 domains currently that I run websites on. I was wondering if it is possible to do the following:

    1. I would like to be able to host these sites on my own Linux server that I have setup in my basement. I currently only have one static ip address, but I can get more if I needed them from my service provider, but they aren't cheap.

    2. Along the same lines, is it possible to do the same thing with email. I would like to host the three domains email on my own servers if possible.

    If this is possible, how difficult it the process to setup? I am a relative Linux newbie, but I have been doing alot of research and reading over the past month or two and don't mind getting my hands dirty in order to get it working.

    Thanks,
    -Eric

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    Quote Originally Posted by EABonney View Post
    1. I would like to be able to host these sites on my own Linux server that I have setup in my basement. I currently only have one static ip address, but I can get more if I needed them from my service provider, but they aren't cheap.
    this is fairly simple. All you need to do is setup Virtual Hosts in Apache. I had this setup on my own web server and it works quite nicely. I think i more stumbled across the method of doing this myself, so you may want to look on Apache's website (if this is the web server you use, if not, look on the web server's homepage) for info on Virtual Hosts.

    Quote Originally Posted by EABonney View Post
    2. Along the same lines, is it possible to do the same thing with email. I would like to host the three domains email on my own servers if possible.
    I'm fairly certain this would be possible, but having never really setup a mail server, i cannot really respond as to this.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,844
    I run my mail server on one static IP address, and it hosts both my domains mail as one. You have to make sure your mailserver (mine is currently Sendmail, but you'd probably want to use something a little more secure and easier to configure) can handle multiple domains. My in-home webserver only hosts one domain, but I have several websites of the format <site>.<mydomain>.org using virtual hosting on apache.
    Linux user #126863 - see http://linuxcounter.net/

  4. #4
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    Quote Originally Posted by Roxoff View Post
    but I have several websites of the format <site>.<mydomain>.org using virtual hosting on apache.
    Virtual Hosts on apache are not limited to sub-domains like this however. I have had various sites running off one IP eg: www.abc.com and Tgb.com (these are examples, if they go to a site, they are not mine)
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •