iredmail-doc/html/change.server.hostname.html

60 lines
2.2 KiB
HTML
Raw Normal View History

2015-06-30 11:27:32 -05:00
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Change server hostname</title>
<link href="./css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<div id="navigation">
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
// <a href="./index.html">Document Index</a>
</div><h1 id="change-server-hostname">Change server hostname</h1>
<p>If you want to change server hostname, please also update below files to
replace old hostname by the new one:</p>
<h2 id="system-config-files">System config files</h2>
<ul>
<li>
<p>/etc/hosts</p>
</li>
<li>
<p>Debian/Ubuntu: /etc/hostname</p>
</li>
<li>Debian/Ubuntu: /etc/mailname</li>
</ul>
<h2 id="postfix">Postfix</h2>
<ul>
<li>/var/spool/postfix/etc/hosts</li>
<li>/etc/postfix/main.cf (Linux/OpenBSD) or /usr/local/etc/postfix/main.cf (FreeBSD)</li>
</ul>
<h2 id="awstats">Awstats</h2>
<ul>
<li>/etc/awstats/awstats.{web,smtp}.conf</li>
</ul>
<h2 id="apache">Apache</h2>
<ul>
<li>RHEL/CentOS: /etc/httpd/conf/httpd.conf</li>
<li>Debian/Ubuntu: /etc/apache2/apache.conf</li>
</ul>
<h2 id="amavisd">Amavisd</h2>
<ul>
<li>RHEL/CentOS, OpenBSD: /etc/amavisd/amavisd.conf</li>
<li>Debian/Ubuntu: /etc/amavis/conf.d/50-user</li>
<li>FreeBSD: /usr/local/etc/amavisd.conf</li>
</ul>
<h2 id="sogo">SOGO</h2>
<ul>
<li>/etc/httpd/conf.d/SOGo.conf</li>
<li>/etc/apache2/conf.d/SOGo.conf</li>
<li>/etc/apache2/conf-available/SOGo.conf</li>
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3293801-21', 'auto');
ga('send', 'pageview');
</script>
</body></html>