Ubuntu Web Server

Discussion in 'Computer Gaming Forum' started by PS2Guy, Feb 4, 2012.

  1. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I've just set up a web server to host my website on and maybe get a few friends together to host their sites too. Setting the server up was a little bit of a pain but it was easy once I sorted thru my technical issues.

    What I'm having problems with is setting my server up so that I can also have emails running thru my site for me and my partner as well :shrug:.
    I've followed a bunch of tutorials using Doctor Google but I always end up with the same result: something I install takes over my Ethernet and stops me from broadcasting my site, but I can't figure out what.

    So here I am on here asking the fine members of ASSEMblergames if they know of an easy (or semi-easy) way to sort this out?? (I've been trying for about 3 days now spending around 10 hours a day on it but still no luck)

    At the moment I'm running Ubuntu Server 10.04 Lucid Lynx LTS (I'm holding out for 12.04 LTS, but will upgrade if needed). My website path is /var/www/website

    Any help or a point in the right direction would be much appreciated.
     
  2. Does_anyone

    Does_anyone Gutsy Member

    Joined:
    Oct 5, 2009
    Messages:
    427
    Likes Received:
    3
    Are you sure the mailing service isn't interfering with port 80 rather than eth0?
     
  3. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I wouldn't have a clue :shrug: details on the internet don't point you in a direction of which files to look at. If it was I could just configure the mail to port 25 or 10025.
     
  4. Does_anyone

    Does_anyone Gutsy Member

    Joined:
    Oct 5, 2009
    Messages:
    427
    Likes Received:
    3
    Yeah, so when it kicks your web service off, can you access your mail still?
    If so, I'd assume its more DNS than anything.

    MAIL.local ~ 127.0.0.1 : 25
    WEB.local ~ 127.0.0.1 : 80
     
  5. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I'm trying to just start from there. Every tutorial I've looked at and read tells you all the packages needed to setup the mail server, which is cool......but the thing they don't tell me is how to point it at my folder and set it up?? And every time I try google I get the same websites that I've already looked.

    I would really like to know where the configuration files are and how to point it at my site and set it all up cause none of the tutorials can tell me.
     
  6. Does_anyone

    Does_anyone Gutsy Member

    Joined:
    Oct 5, 2009
    Messages:
    427
    Likes Received:
    3
  7. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I've read this document before. What would my system mail name be if I'm hosting more than 1 website on my machine?? localhost.website.com????
     
  8. Does_anyone

    Does_anyone Gutsy Member

    Joined:
    Oct 5, 2009
    Messages:
    427
    Likes Received:
    3
    mail.domain is usually the most common.
     
  9. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I'm sorry if I sound a bit dumb, I'm really tired I've been staying up till about 2am for the last few days trying to get this sorted before I head back to school on tuesday, so just to get it clear I would enter mail.ps2guy.co.nz.....yes??? How will the computer know where that is??
     
  10. Does_anyone

    Does_anyone Gutsy Member

    Joined:
    Oct 5, 2009
    Messages:
    427
    Likes Received:
    3
    The service controls where it is stored, so whatever you use, would be where it is stored.
     
  11. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Okay cool thanks man. Just waiting for my install to finish for the 8th time this week.
     
  12. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Update.

    Just a small update, I finished installing my OS for the 8th time and transferred the database and files and then tested my website, it went straight to it, which was awesome, but then after 2 mins it couldn't, so I'm definitely thinking now that my mail program is taking over my eth1 port. Where (path) can I check my settings for that?
     
  13. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    You could open the SSH port and let someone you trust to set it up for you :shrug:
     
  14. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    I actually haven't figured out to do that, and the only people I trust don't like linux.
     
  15. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    A mail server won't 'take over' a network port, it's more likely the web server is crashing or there's a dodgy script somewhere.
    Use 'ps ax' to see if the web server is still running.
    Then check /var/log/ and read the relevent log files, (mail, web server, kern.log, daemon.log, errors, messages)
    My honest opinion would be; try using a different mail server.
     
  16. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Any suggestions??
     
  17. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    Kerio connect (not free and not open source)?
    Courier Email Server?
    Postfix & squirrelmail?
     
  18. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Those were what I trying to use. They for some reason would take over my ports, maybe because they're on port 25 which is usually blocked, I should try and find the configuration file and edit it to port 10025.
     
  19. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    you NEED port 25, SMTP is by default on port 25, and nearly every mail server in the world will connect to your server only on port 25 (and the equilivent SSL-SMTP port if it's available and supported).
    If you switch to 10025, be prepared to never recieve mail on your server.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page