PDA

View Full Version : change website name


aqua
8th April 2007, 02:00
Hello, I wold like to change the website name in Mangement --> Server --> Settinging.

What services will be affected, if any?

Thanks
Aqua

Hans
8th April 2007, 09:17
Hey,

You can change the domainmname, but it must be the same as defined within your /etc/hosts file.

You can set your hostname like this:

echo hostname.yourdomain.com > /etc/hostname
/bin/hostname -F /etc/hostname

Verify the hostname with:

hostname -f

If the output of the hostname -f is:

server1.yourdomain.com

Your domainname within ISPConfig under Management > Server > Settings should be:

Hostame: www
Domain: yourdomain.com

aqua
8th April 2007, 20:48
thanks hans. I guess I should make my question a bit more specific.

A little while ago I changed the name of a one of my clients websites in ISP manager --> Sites --> www.sitename.com

All seemed to work ok (eg the new site name worked for apache), but email was being rejected.

If, under the old site i had the user name bob, then his email was bob@oldsite.com. When I changed the domain name, I looked under the user tab, and ISPconfig changed everything to the newsite.com, ie. bob@newsite.com.

Postfix was rejecting email to bob@newsite.com though with message user not found, because apparently it still looked for bob@oldsite.com.

So, if I change my domain name in managment --> server --> settings, will i still be able to receive email? I noticed that incoming email is first checked to see if the user exists(eg mary@somesite.com), then it delivers it using the domain name i specified in server --> settings (mary@mysite.com).

Thanks
aqua

till
8th April 2007, 22:19
So, if I change my domain name in managment --> server --> settings, will i still be able to receive email? I noticed that incoming email is first checked to see if the user exists(eg mary@somesite.com), then it delivers it using the domain name i specified in server --> settings (mary@mysite.com).

No, this setting has nothing to do with postfix.

Please make sure that you edit the co-domain from oldsite.com to newsite.com on the co-domain tab too and not just the main website domain.

Wolfgang
15th May 2007, 15:13
Hey,

You can change the domainmname, but it must be the same as defined within your /etc/hosts file.

You can set your hostname like this:

echo hostname.yourdomain.com > /etc/hostname
/bin/hostname -F /etc/hostname

Verify the hostname with:

hostname -f

If the output of the hostname -f is:

server1.yourdomain.com

Your domainname within ISPConfig under Management > Server > Settings should be:

Hostame: www
Domain: yourdomain.com

Why would i set host=www and not host=server1 in Management > Server > Settings?

falko
16th May 2007, 17:08
Why would i set host=www and not host=server1 in Management > Server > Settings?
server1 would be correct. :)