Plesk 12.x / Linux :: Vhosts On One Of Two IP Addresses
Dec 1, 2014
I have a Problem with my VHosts on one of two IP addresses. One IP is dedicated and works well
The other IP is shared. Since two days every call to one of the websites of this share ip goes to the Plesk Default Website. I tried to reconfigure single sites and all sites (/usr/local/psa/admin/bin/httpdmng --reconfigure-all), nothing works and restarting apache shows some warnings.
apache2ctl -S shows the following lines:
Code:
[Mon Dec 01 19:56:08 2014] [warn] VirtualHost 85.214.41.141:7080 overlaps with VirtualHost 85.214.41.141:7080, the first has precedence, perhaps you need a NameVirtualHost directive
[Mon Dec 01 19:56:08 2014] [warn] VirtualHost 85.214.41.141:7081 overlaps with VirtualHost 85.214.41.141:7081, the first has precedence, perhaps you need a NameVirtualHost directive
[Code] ....
In an other thread I found a possible solution for the overlapping vhosts. The problem there seems to be a missing ssl-certificate and that matches with the situation on my server. After copying any other certificate-file as the one with the missing filename the apache starts without any warnings, but after that all websites (the sites from the dedicated ip too) only shows the apache default site ("it works"). I Tried to reconfigure single sites and all sites (/usr/local/psa/admin/bin/httpdmng --reconfigure-all), nothing works.
The server is hosted by STRATO, so there are daily backups. I turned back one week (the problem exists since two days). Then for some hours all works fine but suddenly all the sites on the ip 85.214.41.141 get broken again and shows only plesks default page.
View 1 Replies
ADVERTISEMENT
Oct 30, 2014
We are using a server with Ubuntu 14.04 LTS and Plesk 12. When installing plesk, the vhosts directory is automatically created in /var/www/vhosts . Our problem is that /var is on a 120 GB SSD drive. We would like to move it to /data, which is a 2 TB drive. Whenever we used:
This KB-Article [URL] .... (exits with errors) this third-party documentation [URL] .... (Which is from a user who has the exact same problem with the same paths) all we get is ERROR 403 on our demo site. The site was created before the move and we also tried to create it after the move. The Plesk installation is fresh out of the box. There were absolutely no changes to the installation. Even the domain default or server default pages will not load anymore.
View 19 Replies
View Related
Mar 4, 2015
We run a high traffic server and the access logs get filled up very quick. I know we could implement rotation, but I would also like to prevent performance loss by having an access log, doesnt matter how marginal that would be.
View 6 Replies
View Related
Dec 3, 2014
I need to listen to two IP addresses supporting many domains.
It the pass we achieve this on the Data Centre firewall. This option is no longer available.
Traffic is been presented to Plesk 12.0.18 on
Eth0 – 192.168.0.2
Eth1 – 192.168.0.12
I set up 192.168.0.2 – all is working well
I installed NGINX – all is well and the websites are running faster.
Normally I would try to listen on two IP address in Apache. This option I could not get working as Plesk creates the Apache configuration files from the information entered through the panels. This in turn over rights any manual changes to the Apache configuration files.
I understand that I could use NGINX to achieve this. Is this correct how is it achieved?
View 1 Replies
View Related
Aug 18, 2014
We want to send a newsletter email for all the company employees, we are using doppler because of a location and language thing (based in Argentina where an important part of the company operation is located), so when we are ready to send the newsletter it says that all recipients are bouncing, asked to droppler support and they say the problem comes from plesk, because it needs to have their ip addresses into the whitelist.
So, went to plesk, selected the domain where the bounced email addresses are (dlbgroup.com) but from there I don't know where to go, I don't want to do something wrong or delete something accidentally, so where to upload this CSV file to the right whitelist place.
View 6 Replies
View Related
Jun 12, 2015
I have installed a new SSL cert and tried to assign it to an IP address.
Plesk says "Information: The properties of the IP address .... were changed."
But it seems the SSL cert was not changed.
Running in mysql the following query
select d.name from domains d inner join hosting h on h.dom_id = d.id where h.certificate_id = <id of new cert>;
gives:
Empty set (0.00 sec)
I changed the cert for the IP where all my domains are so it should show the domains using that IP/cert. Running the query using the ID of the old cert lists all the domains on that IP/cert.
View 1 Replies
View Related
Mar 12, 2014
From what I can tell the vhosts on my Plesk Panel keep resetting (I think around once a day), all my webstatistics (AWStats) begin to 404 and I have a Wordpress installed in the root of a domain which is now displaying the "Web Server's Default Page" (any sub-directory of the Wordpress install gives a 404 such as the wp-admin directory). The way I've fixed this temporarily is to run "%plesk_cli%
epair.exe" --update-vhosts-structure. I do not see any errors or warnings in the event viewer or log files.
On another note is there a way to increase the logging for event viewer to include more than just errors (such as informational) to make it easier to track down issues?
View 4 Replies
View Related
Jun 17, 2015
get this problem on a completely new installed machine Ubuntu 14.04. I want to migrate and i come only to that point after Checks -
Home>Tools & Settings>Migration & Transfer Manager>
Define IP Addresses Mapping:
Next button is unavailable and i get the message "No free IP addresses of this type available".I tried to upload a new txt file with old and new IP address, but i doesn't get a feedback. So what I can do now?
View 2 Replies
View Related
Jul 24, 2014
If i select this option in Server-Wide Mail Settings, server still sends email trough main IP address.
View 2 Replies
View Related
Jun 16, 2014
I am running a VPS through 123-REG, Plesk version 11.0.9 with CentOS 6.4
I host 3 websites of my own (with 14 mail accounts)
4 websites for clients (with 10 mail accounts)
7 websites for clients (with 0 mail accounts)
The problem I have had in the last 2 weeks is that the server has been compromised once again by spammers.
2 weeks ago we had another instance and the support was even worse than before, I decided that the best way forward after irradicating the problem and correcting the source, and in the interest of each of my clients I decided to asign each client with their own IP address in the vain hope that if one client account is compromised the others will not be affected, 123-REG agreed that this is a solid solution so I purchased 5 additional IP addresses for the clients I host mail accounts for, (all of the said addresses were blacklisted when I was given them!!!) the reverse DNS was not set up correctly, and couldn't be through their control panel and some didn't match the SMTP banners, then I found out through them that the mail was still sent out through the Primary IP address anyway so if one client gets blacklisted they all still do.
Now they tell me that I can in fact configure Plesk to use each IP address for each client exclusively and they sent me a link to a support article that doesn't actually tell me how to do it.
I can do the following so far:
Log into puTTY and use the command: nano /etc/postfix/master.cf
Find the "smtp" record referenced in the article [URL]
1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_bind_address6= -o smtp_address_preference=ipv4
2.2.2.2- unix - n n - - smtp -o smtp_bind_address=2.2.2.2 -o smtp_bind_address6= -o smtp_address_preference=ipv4
although mine looks like the one below:
1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_b$
Is there something missing from the entry I have?
Assuming that 1.1.1.1 = the relevant IP Address for the client do I need to create an entry for each of my IP addresses?
Do I need to do anything with SMTP banners? If so how do I do it, and what do I need to do?
The article also mentions the default settings being restored each time you reconfigure mail settings and to consider a scheduled task, does that mean each time I set up a new mail account or a new client as I assume that I will need to repeat these steps in that case anyway, mainly because they will have a unique IP address that needs to be set up.
View 1 Replies
View Related
Jan 14, 2015
I am using latest version of PP12 and do not have the "Send from domain IP addresses." seeing showing in the Mail Settings page.
There is nothing shown between "Enable message submission" and the "Relay Options".
Yes, I am using Postfix.
What am I missing?
View 7 Replies
View Related
Sep 3, 2014
I m trying to get the feature "Outgoing Mail from Exclusive IP Addresses" working, as with an updated Postfix configuration the menu entry for this functions does not appear anymore.
Maybe i am missing something in my configuration that tells Plesk to not show it anymore.
Plesk 12 - fresh installation on Debian Wheezy.
We only changed main.cfnd here is the configuration file (please note that the formatting was a bit corrupted by the plesk panel ):
Code:
alias_database= hash:/etc/aliases
alias_maps= hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
append_dot_mydomain= no
biff= no
disable_vrfy_command = yes
header_checks= regexp:/etc/postfix/header_checks
mailbox_size_limit= 0
[Code] ....
View 4 Replies
View Related
Nov 11, 2014
I have two sites that register a high amount to SMTP traffic. Both sited have only forwarding email addresses.
Do forwarding addresses accumulate SMTP traffic on the log?
Also, if a forwarding email is created without a mailbox is it necessary to add a password so that "others" cannot use the blank SMTP server to send email out?
View 2 Replies
View Related
Jun 2, 2014
I have just added some extra IP addresses to my plesk panel from 1&1
CentOS 5.6 (Final)
Panel version11.5.30 Update #45
I have changed a couple of domains to have their own IP address - one marked as shared, the other as dedicated.
I can not log in to either via FTP since changing to a new IP address, the DNS has been changed to reflect this change over and resolves correctly.
I have used the domain name, original IP address and new IP address as the host address with filezilla on windows and mac, and smart ftp on windows.
All accept the username and password, but then all of them timeout with ETIMEOUT error.
Existing domains on the original IP address log in fine via FTP.
View 2 Replies
View Related
Jul 9, 2014
The IP addresses assigned to our servers have changed so it's time to update the default SPF information contained in the DNS records for ALL of the domains hosted on our servers:
OLD
Code:
v=spf1 +ip4:173.236.23.185 +ip4:173.236.23.188/30 +a +mx -all
NEW
Code:
v=spf1 +ip4:69.160.255.188/30 +ip4:69.160.255.192 +a +mx -all
However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",
Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...
View 1 Replies
View Related
Jul 11, 2014
Upon checking the mail logs, I find this
Code:
Jul 12 07:39:35 ns2 postfix/smtp[31739]: certificate verification failed for gmail-smtp-in.l.google.com[173.194.68.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Jul 12 07:39:36 ns2 postfix/smtp[31739]: 2AC1222A0003: to=<aarontd207@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.68.26]:25, delay=2, delays=0.1/0/1.3/0.64, dsn=2.0.0, status=sent (250 2.0.0 OK 1405143576 q6si6606624qan.104 - gsmtp)
View 1 Replies
View Related
Sep 19, 2014
Seems everythings is working normal when ignoring following error message, but everytime I add or change mail settings for a domain, I am getting this error:
Internal error.
ERROR:
Uncaught exception 'Zend_Log_Exception' with message '"/var/log/plesk/panel.log"
cannot be opened with mode "a"' in /usr/local/psa/admin/externals/Zend/Log/Writer/Stream.php:81
Stack trace: #0 /usr/local/psa/admin/plib/Plesk/Log.php(69): Zend_Log_Writer_Stream->__construct
[Code] .....
View 6 Replies
View Related
Jun 24, 2013
I have a server with Plesk Panel 11.
When I create a domain, I created the folder:
c: inetpub vhosts.
I need to change the folder, since in that hard drive partition I'm running out of space.
How I can change the location of the folder where Plesk creates domains?
View 2 Replies
View Related
Nov 13, 2007
I've been having some trouble with Apache 2.0 recently. Whenever I load somewhere between 200 and 230 virtual hosts into Apache's config (as per my hosting control panel), Apache will fail to restart when the command "apache2ctl restart" is run. The command "/etc/init.d/apache2 restart" fails as well. All it does is signal all child processes of Apache to be terminated and fail to start again.
Here's what the log has to say:
Code:
[Tue Nov 13 19:04:18 2007] [notice] SIGHUP received. Attempting to restart
[Tue Nov 13 19:04:18 2007] [notice] seg fault or similar nasty error detected in the parent process
Is it that Apache is too bloated with vhosts to restart or is it something else?
FYI, I'm running Debian 3.1 (Sarge).
View 10 Replies
View Related
Mar 25, 2007
Either Apache 2.2 can't handle vhosts or I don't get apache anymore.
Have a look at the conf files (I stripped out all the commented lines):
httpd.conf
Code:
ServerRoot "/usr/local/apache2"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php5_module modules/libphp5.so
<IfModule !mpm_netware_module>
User apache
Group apache
</IfModule>
ServerAdmin you@example.com
DocumentRoot "/usr/local/apache2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/usr/local/apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<FilesMatch "^.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog logs/error_log
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
CustomLog logs/access_log common
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
</IfModule>
<IfModule cgid_module>
</IfModule>
<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
</IfModule>
Include conf/extra/httpd-vhosts.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
httpd-vhosts.conf
Code:
NameVirtualHost *:80
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin cs@reflexnetworks.net
DocumentRoot /home/reflextest/public_html
<Directory "/home/reflextest/public_html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ServerName test.reflexnetworks.net
ServerAlias www.test.reflexnetworks.net
ErrorLog logs/test.reflexnetworks.net-error_log
CustomLog logs/test.reflexnetworks.net-access_log common
</VirtualHost>
( xxx.xxx.xxx.xxx is the correct IP). The <Directory "/home/reflextest/public_html">...</Directory> part does not make any difference
Permissions:
Code:
ls -lR reflextest/
reflextest/:
total 4
drwxr-xr-x 2 reflextest apache 4096 Mar 25 04:50 public_html
reflextest/public_html:
total 4
-rw-r--r-- 1 reflextest apache 22 Mar 25 04:50 index.html
This is a source compile of apache. See for yourself: [url]
View 4 Replies
View Related
Nov 16, 2007
I tried searching the forums a bit and the Apache manual, but I was unable to find much related to my specific problem.
We have a system such that each user has a 'www' folder in their home directory so that example.com/~user will point to that folder. The user information, however, is not on the www server and instead we use a network file system to access the files in the home folder.
This all works fine and dandy with mod_rewrite. However, we want to allow each user to have access to the error logs, etc. for their own site. The best way to do this seems to simply store it in their home directory.
The problem is that how do you split these files apart. While it would be possible to have a separate process do it, the best way seems to just have each user be their own vhost. mod_vhost_alias seems to be applicable in this situation.
However, mod_vhost_alias relies on either the Host: field or the ip to split queries into their respective vhosts. As said before, our system uses the directory.
So the question is, is there a way to either use mod_rewrite to tell mod_vhost_alias what the vhost's name is. Or, is there a way to split the logs another way.
View 0 Replies
View Related
Jun 3, 2008
how to configure linux so that it allows for two ip addresses on one machine?
I know this is possible because my server administrator setup one of my servers to have two different ip addresses so that I could have a static and dynamic http daemon (two different daemons but listening on different ips).
What do you need to configure?
View 1 Replies
View Related
Mar 16, 2008
I have hundreds of sites on a server running Plesk. When I try to add more, Apache refuses to start, because it is out of file handles.
It is out of file handles because Plesk includes a custom ErrorLog and CustomLog in every vhost config file it makes. I tried overriding them with a vhost.conf file, but am not sure how to unset set options. I also tried pointing all the same ErrorLogs to the same file, but that didn't seem to do anything.
Does anyone know how I can either log everything to a single file, or just shut off logging? I really never use logging, and it seems like it would save me progressing power and storage (not to mention file handles!) if I could just disable it.
View 5 Replies
View Related
Jun 21, 2008
if it was possible to load vhosts from a MySQL database and the only solutions i found didnt work for me. Im running Apache on Windows. Has anyone seen anything that would work with Windows? The only alternative i can think of is to read the database info using PHP and output it to a vhosts config file. I dont want to do that though because it means restarting the server to load the new config and i hear that a lot of vhosts slows the server down
View 4 Replies
View Related
Mar 15, 2013
I work for a start up as well as do independent consulting. I had a friend set up my apache server initially for the start up. It's been running fine. Now I want to host a client's site on the same server. I tired just adding a vhost section at the bottom of the conf file, but it said that I was running two sites off the same port. I tried manipulating the stuff my buddy did for me for the first site, then putting two vhosts on the bottom, but that just didn't work.
View 5 Replies
View Related
Apr 21, 2015
when I had multiple (at least 5) vhosts set to Apache when it just hanged, this was fixed adding:
Code:
Acceptfilter http none
Acceptfilter https none
To my httpd.conf, but now it's not hanging, it just times out, I get no error, nothing in the error.log file, it just times out.
After doing a refresh, it comes back like nothing happened.
View 13 Replies
View Related
Aug 29, 2013
I'm trying to configure a host to use vhosts but the server keeps breaking when I uncomment the Include vhosts file line. The apache process starts but none of the hostnames work. When the line is commented out, only the main hostname (defined in httpd.conf) works.
View 1 Replies
View Related
Jul 23, 2014
After upgrading from 11.5.30 to 12.0.18, when make backup see next message:
<?xml version="1.0" encoding="utf-8"?>
<execution-result status="error">
<object name="example.com" type="domain">
<message severity="error" id="167b9714-3e33-4863-861d-69c4f559afe6" code="InformationalException">
<description>Unable to dump IP addresses for mail service</description>
[Code] ....
View 6 Replies
View Related
Jun 20, 2014
I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.
Here are my details:
Linux
Centos 5.5
PHP 5.3.3
x86_64
Plesk 12
I have tried installing all sorts of different repos and it just isn't working.
When I try to install using # yum install php-mcrypt I get the following:
Loaded plugins: fastestmirror
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
[Code].....
View 6 Replies
View Related
Feb 25, 2015
Does Parallels support Plesk 12 being installed on a Linux VM that is provisioned on Microsoft Windows Server 2012 R2 Hyper-V?Is it fully supported?
View 2 Replies
View Related
Nov 17, 2008
Best platform for IMAP mail (Cpanel, Plesk Linux or Plesk Windows)
I need to setup 5 email accounts on my domain, each will use IMAP and store messages on server, so total space taken by each account will be 2-5 GB.
I have decided to go with eurovps.com as I'm close to them and ping is fast.
What is the best solution for IMAP and large email accounts: Linux Cpanel, Linux Plesk or Windows Plesk?
Each account will be accessed by 2 people differently by Thunderbird and occasionally by webmail, so nice webmail is a plus.
View 7 Replies
View Related