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.
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.
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
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.
https://help.ubuntu.com/community/MailServer Ubuntu has documentation above that should help you out.
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????
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??
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?
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.
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.
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.