Linux For Hosting (HOW TO SETUP DNS, APACHE AND SENDMAIL) In RH 9
Feb 25, 2005Starting linux for hosting (HOW TO SETUP DNS< APACHE AND SENDMAIL) in RH 9
hi does anyone know to setup these or could dirct me to step by step tutorials please.
Starting linux for hosting (HOW TO SETUP DNS< APACHE AND SENDMAIL) in RH 9
hi does anyone know to setup these or could dirct me to step by step tutorials please.
My CentOS 5.1 server has no control panel.
I've executed the following commands on my server:
yum install sendmail
yum install sendmail-cf
I don't know what exactly they did so I need to know what more do I need to do to setup my server so that I can send and receive e-mail. What configuration files should I edit etc?
I'll also install vm-pop3d. At what point should I create e-mail accounts and how?
I got a new server running FreeBSD 6.x and WHM/Cpanel.
mail() in php does not work, so I am looking for guidance in setting up sendmail.
PHP info shows the following:
sendmail_path /usr/sbin/sendmail -t -i
somebody know is possible on some way route traffic before come to web server (apache or lighttpd)?
I want to setup lighttpd on port 80 and apache on port 81 and I want visitors to go direct to apache or lighttpd without url:81 and that must work on this way if somebody visiting url1.domain.com that go to lighttpd on port 80 and if somebody visiting url2.domain.com that go to apache on port 81 and something must route it before lighttpd and apache (and get/post must work), is this possible on some way?
I know that lighttpd and apache can do it but I don`t need it on that way!
since my Update up to plesk 12
at the moment none of my websites can send E-Mails via sendmail :-(
I configured the plesk-outgoing-mail limitation as follows: Scripts are not allowed to send mails (see: URL ).
But a simple php-script with mail()-command can successfully send mails. How can I stop that?
I have a Plesk installation with Commandline access. Also on this server is a Request tracker installation. (The reason for the commandline access) CentOs 6 Server.
All installations are up to date, but this actually broke my installation after the last Plesk Upgrade.
At the last Plesk upgrade, my Request Tracker installation can no longer use sendmail to send email directly from the server.
The errors I am getting are:
/var/log/maillog:
May 1 22:58:53 vs10-janey postfix/smtpd[5345]: connect from localhost[127.0.0.1]
May 1 22:58:53 vs10-janey postfix/smtpd[5345]: disconnect from localhost[127.0.0.1]
May 1 22:58:53 vs10-janey plesk sendmail[5348]: Unable to get sender domain by sender mailname
May 1 22:58:53 vs10-janey py_limit_out[5349]: ERROR Rejecting forged message: PPP_SENDER_VHOST_ID is present in environment, but its value is empty
May 1 22:58:53 vs10-janey plesk sendmail[5348]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The sender's domain is not registered in Panel, or is misconfigured.#012REJECT
May 1 22:58:53 vs10-janey plesk sendmail[5348]: REJECT during call 'limit-out' handler
In the past we disabled sendmail in Plesk to prevent spam from using the contact form of Wordpress sites to send unauthorized spam emails. Because of this, password reset emails do not work.
A few questions:
1. Is it safe to enabled sendmail for scripts in Plesk?
2. If its best to disable it, what is the solution for enabling Wordpress password reset without the need of using send mail?
One site was hacked, but I am not sure if Wordpress send email can be manipulated from outside the Wordpress site, or if it happened because the outside user brute forced their way into the admin to send these spam emails.Here is the Wordpress error that came up when resetting the password to a username:
The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function.
I'm a window type of guys and considered myself more proficient using windows operating system. However, when it comes to linux, i have not really a clue except some simple command i learnt from CMD that also applied to linux.
I have a root access to my dedicated box and I use putty for SSH. Problem is from there, what kind of usual and daily web admin do to the ssh?
In other words, what is the daily routine of Network Admin in Linux?
Any recommendation of website that introduce me to using ssh to use remote linux server?
My server is using Centos 6.5... I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17.
Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected with a wrong HELO hostname: localhost.
It seems that sendmail is using locahost as a HELO tag which is not accepted. Here is the following error:
Code:
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: handlers_stderr: SKIP
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: SKIP during call 'check-quota' handler
Jun 23 14:23:20 ns395167 postfix/pickup[29480]: B94BC6AA20A6: uid=0 from=<root@curuba.fr>
Jun 23 14:23:20 ns395167 postfix/cleanup[29507]: B94BC6AA20A6: message-id=<20140623122320.B94BC6AA20A6@ns395167.ip-176-31-117.eu>
[Code] .....
Here is my postconf -n content:
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
[code] .....
My system hostname seems correct:
Code:
hostname -f
ns395167.ip-176-31-117.eu
hostname
ns395167.ip-176-31-117.eu
When I open my site in a browser and I point the URL to specifically // ipaddress / location A it's all good. (Apache Server)..My problem is, if you open the site in a browser with just the IP address alone it goes there for a second and then automaticlly goes to and opens the other site in location // ipaddress / location B.
However, what I need it to do, I think, is edit the apache conf file to make it open location A as the default. What do I need to do in the apache (httpd-conf) to fix that? For that matter is that the right file to edit?
Im using AJAX on my site and i need to access a seperate server instance on a different port. AJAX wont allow me to do that so i want to use Apache as a proxy but only for one page.
View 4 Replies View RelatedI been using plesk, and cpanel so this is the first time I have Webmin for my CentOS.
After some googling and reading, i able to install apache, mysqld and vsftpd (for some reason, my host (hivelocity) didnt install these. So this is my setup.
a.com: in godaddy, i add nameserver host as ns1.a.com and ns2.a.com and change the dns to point to that
b.com: in godday, point dns to ns1.a.com and ns2.a.com
BIND DNS Server
========================
I create two master zone for a.com and b.com
a.com
Code:
$ttl 38400
a.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
a.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
a.com. IN NS server.a.com.
mail.a.com. IN A 1.2.3.4
ftp.a.com. IN CNAME a.com.
www.a.com. IN CNAME a.com.
a.com. IN MX 10 mail.a.com.
b.com
Code:
$ttl 38400
b.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
b.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
b.com. IN NS server.a.com.
mail.b.com. IN A 1.2.3.4
ftp.b.com. IN CNAME b.com.
www.b.com. IN CNAME b.com.
b.com. IN MX 10 mail.b.com.
APACHE
========================
I created 2 virtual servers for a.com and b.com
/home/sites/a.com/html
/home/sites/b.com/html
I create an index.php in a.com/html with content: "a.com YEAH"
I create an index.php in b.com/html with content: "b.com YEAH"
After wait for dns to propogated,
when i try to go to a.com, content "a.com YEAH" shows up.
But when goto b.com, content "a.com YEAH" shows up? Why?
Also, when goto ns1.a.com, content "a.com YEAH" is there.
I also has problem with vsftpd but let fix that later.
I have a fresh Ubuntu 14.04 install (desktop). I installed Apache, php and mysql from APT and updated everything.I tried to setup a virtual host using these directions: URL...I followed them to the letter:
o I created a folder /var/www/mydomain.local/public_html
o I copied the 000-default.conf in sites available and modified it
o I added mydomain.local to my hosts file (with IP of 127.0.0.1
o I used a2ensite to enable the host
o I used service apache2 reload
When I went to mydomain.local in firefox, it took me to the default host main page.I tried a restart of the service and even a reboot of the computer. No change.On a theory, I used a2dissite to remote 000-default from the enabled site list and reloaded the service. I got the home page for mydomain.local after that.
I created a named host called localhost and reloaded the apache. When I went to http://localhost it took me to the mydomain.local homepage. Rebooted the computer. Now, localhost gives me the apache default home page and mydomain.local does not work at all (I get a server not found).
I get the feeling that there is an apache configuration item I am missing but I cannot find it.
I am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).
View 2 Replies View RelatedI am using Apache 2.4 and Jboss 7.1 on Windows server 2012 server. requirement is to have SSL offload in place for communication between Apache to Jboss. Apache will be secured to handle client requests from Apache onwards all servers in trusted zone hence there is offload requirement.
View 6 Replies View Relatedi have setup everything before using ssl without issue for using https url.Now I'm having issues for Apache 2.4.9.
In url https://tomysite.com i get
Not Found
URL....how to setup apache so files are downloadable from it. I guess I should also be using SSL.
View 1 Replies View RelatedWhere can I get examples to create login ID and password with changing of password function for valid user to access apache web server?
View 3 Replies View Relatedi just want to start web hosting bussines
1-i have a server but i haven't any experience about using more than one web site on iis. Do you know any tutorial for this?
2-I readed some information but they say "it is not good way to host more than one web site on one ip for the security problems " Is it true?
2-how can i control or arrange my clients quota and also ftp accounts
has anyone else been with this company hosting-ie.com and been experinceing bad services? at the moment i have been waiting a very long time for a vps with these guys and they dont communicate to well either i been waiting over a week and i have sent lots of emails over the past few days but they are not responding? I did a review search but i can not seem to find any on the forum search
View 9 Replies View RelatedI installed apache, mysql, php on my windows vista laptop, and want to test http downloading. This means when selecting a file (for example, contact.php) from a page, and then click download, it will be downloaded to my desktop.
Do we need to install any other softwares to do that?
Does anyone know how to install the Frontpage Server Extensions on an Apache server which is running on a Windows box? I've searched around including on Microsoft's site, but I was only able to find info on how to configure for Apache running on unix/linux.
View 0 Replies View RelatedI don't have any SMTP server
Its a dedicated unmanaged server that has windows 2003 and apache running. I heard you need IIS to enable SMTP on a Windows machine but I don't want to run IIS because I feel Apache is better.
I am migrating to apache httpd 2.4 on windows xp. The current server currently has exe programs that execute as cgi programs. When I try to use one of these links, apache just servers the programs as files for download. How do I configure my httpd.conf to run these instead of download them?
View 1 Replies View RelatedI want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.
So I want to ask:
1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:
Code: <Directory "/var/www/html/MySite">
The password is setup for the path to Mysite,right?
2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?
We are in the process of setting up an application that on signup gives the customer a subdomain. The document root for this subdomain should be the same as the webroot for the primary domain. As an optional feature the customer can also map their own domain to this subdomain.
I was wondering if there is anyone here who has experience setting this kind of system up and could share some ideas, such as a particular server control panel that might cater for this, or that has an API that we can use within our Code.
As we are starting off we were thinking to go with a VS to keep the costs down. Also, the system is being programmed in PHP so the server would need to be Linux based.
I am trying to set up log rotation on my Apache Server on Windows 2008 using the rotatelogs.exe executable. I believe I am having issues because my directory path has spaces.
From my understanding, a full path is needed for the ErrorLog but not for the CustomLog
ErrorLog "|"C:/Program Files (x86)/Apache Software Foundation/Apache2/bin/rotatelogs.exe" "C:/Program Files (x86)/Apache Software Foundation/Apache2/logs/Error/Error_%Y-%M-%D.log" 86400"
CustomLog "|bin/rotatelogs.exe logs/Access/Access_%Y-%M-%D.log 86400" common
The error that I get is:
C:Program Files (x86)Apache Software FoundationApache2.2bin>httpd.exe -k start
The system cannot find the path specified.
I had setup an apache home server. here the 80, 8080 ports are blocked . So I made my apache to listen to 4040 port. but the problem now is ,i use cloudflare service to point my domains to my server. now its showing error when i give my ip because the port is not 80. i tried putting dns host point to xxx.xx.xxx.xx:4040 in cloudflare but shows invalid ip ...
View 1 Replies View RelatedI just ordered a vps from them. its been exactly 22 hours since i paid for the vps server. How long does it take them 2 generally set up accounts? Any current web wide hosting vps customers on this forum?
View 5 Replies View RelatedI bought a VPS package hosted at Hosting-IE from someone I knew, since they were not going to be able to use it. Its a linux VPS, and it's done me well. Based on that I decided to purchase my own package, a Windows VPS.
After payment, I messaged support about a broken auto response email they sent out, then asked how long server setup time should be. They responded 1-2 working days. Fine.
Well, its been 7 days since then. I'm 1/4 of the way through the month I've paid for, and still no VPS. I messaged them back asking for my server or a refund, no responses since then.
My previous host set up my dedicated box within a working day, and that involved setting up the hardware too. Over a week for a VPS is too long.
Is my experience with Hosting-IE abnormal or should I be demanding my loot back? Is there any other VPS provider out there that can offer me similar stats at the same price as Hosting-IE?
for a simple package setup, this has gone on for far too long.