How To Change The Timezone From EDT To PDT Using Ntpd
May 28, 2007
When I do date it says
>> Sun May 27 18:42:01 EDT 2007
What I want is
>> Sun May 27 22:57:11 PDT 2007
Also I want it to sync it with a global clock using Ntpd, please guide me with this. I am also reading it. I was able to change the timezone but still don't know how to sync it with a global clock.
Code: SetEnv TZ America/Indianapolis and have mod_env loaded already, but when viewing date by php, it's still showing server default timezone, not the one I want
Is there any idea why that code in .htaccess is not working?
After finishing the upgrade from 11.5 to 12.0.18 I checked the system time which was wrong and no timezone was selected ....
So I switched to my timezone (GMT +3) and corrected the clock from the above settings cause it was 5 minutes behind saved .... since then the time is showing 1 hour later the selected one. like GMT+4.
No matter if I change it manually it returns there.
in order for the server to work correctly i changed the timezone to GMT+2. OK the time is corrected - although wrong cause it should be 1 hour earlier, but anyways Now all incoming email messages still show one hour late as received date. So I tried restarting courier-imap
# service courier-imap restart courier-imap: unrecognized service
I have a server with openSuSE 13.1 and Plesk 12.0.18#7 and get following Warnings:
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts
Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts/s535829144.online.de/httpdocs/contenido/includes/pseudo-cron.inc.php on line 306
I set php.ini from UTC to Europe/Berlin and restart the Server, thats no Effect.
I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.
I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.
I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.
Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created.
2 Issues:
#1 Using .htaccess 301 redirect We used the following command line in their old website's htaccess file
Redirect 301 / [url]
The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on???
#2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is:
New Company Short Meta Description www.OldDomain.com
What steps did I miss in this transition?
What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?
A client of mine just recently asked for a new IP. His subscription near to expiry date.
He considering to renew but only will renew if I can give him a new IP. Not to buy another but instead a new IP to replace the old one. If it helps, he use the vps of his to run proxy, a socks proxy perhaps.
I am familiar with proxies and have quite an experienced running several group of successful proxies thus asking for an IP probably means his old IP is more than 50% blocked.
We are moving to a new rack at our DC. Now the IP addresses will change. BUT.. we have a mailserver running, and all users are pointed at the current name "mailserver.domain.com" which itself is pointing to the old IP.
So far so good...
BUT we need to move that server to the new rack, and so we need to change the IP. But if we change the IP in the DNS, it will take till 24 hours for all the providers to propogate the new IP. For those users, the mailserver will be offline.
How can we fix that properly? So that no-one has any serious downtime?
root@linux [~]# lynx -dump [url] Your ip is: 10.20.30.40 i want to change this ip to: 10.20.30.41 when i execute: lynx -dump [url] i dont know how to do it.
One of my clients are wanting to use a 3rd party spam screening service, which is supposed to only require a change of their MX entry, but it's not working for me.
When I change the MX, and send a message to the account, I get the following message kicked back at me.
Quote:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
receiver@theirdomain.com SMTP error from remote mail server after RCPT TO:<receiver@theirdomain.com>: host mail.mailroute.net [199.89.0.201]: 554 5.7.1 <receiver@theirdomain.com>: Relay access denied
------ This is a copy of the message, including all the headers. ------
Return-path: <me@mydomain.com> Received: from d142-179-125-92.bchsia.telus.net ([142.179.125.92]:62140 helo=WorkLaptop) by server.mydomain.com with esmtp (Exim 4.63) (envelope-from <me@mydomain.com>) id 1HAZU5-0000Rk-8c for receiver@theirdomain.com; Fri, 26 Jan 2007 16:23:49 -0600 From: "Work" <me@mydomain.com> To: <receiver@theirdomain.com> Subject: Test Date: Fri, 26 Jan 2007 14:23:49 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0045_01C74155.999394C0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdBmJ0b1GRT8lMDSveqOjg5CgqmkA==
This is a multi-part message in MIME format.
I know this has something to do with my mail server only trying to send the message once, and not again. I'm setup with RHEL w/cPanel.
i have changed the nameservers in one of my domains and now on it is loading from new server but only when i type mydomain.com.. When i type www.mydomain.com my site stills loading for the old server...it have passed 12 hours from the time i made the change...it is something else i must do to have my site also available from the new server when someones type www.mydomain.com ?
I am teetering on the edge of over using my shared account and have decided it is time to move on to a VPS. This has been a long time coming, but the economy has held me back and now I am running out of options. I have looked at several hosts and just wanted some recommendations. Since this is the first time to run a VPS, I assume a managed VPS is better for me. I am currently looking at KnownHost.com and VPS.net since they are both well reviewed here. I would just like recommendation on what to consider based on my wants.
I do not need much horse power behind the server as I have just pushed passed 20meg of ram at my current host; about max for them. I need a LAMP setup (PHP5, MySQL 5) for 4-5 sites of which only two get any real traffic, the others are just family blogs.
So this is what I think I need, please feel free to make suggestions on hosts or other considerations.
I need a host that can change the php.ini for me. I'm pretty sure no shared hosting would do that. so I'm looking for a VPS option. can you pls advise me if a VPS host would change the php.ini for me ?
and then tried to delete the old nameservers . Removing Nameserver Ip 11.11.112.11 The ip 11.11.112.11 is now ready for re-use as a different nameserver
then i click on nameservers and i see old ones again :/
what i done was change it in /etc/nameserverips
again when i click on whm / Nameserver IPs I see old nameservers!
KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 3 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxRequestsPerChild 0 ServerLimit 1024 MaxClients 250 ExtendedStatus On ServerSignature Off
My php.php info:
Apache Version Apache Apache API Version 20051115 Server Administrator webmaste@MYDOMAIN.com Hostname:Port www.MYDOMAIN.com:0 User/Group apache(48)/48 Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100 Timeouts Connection: 60 - Keep-Alive: 1 Virtual Server Yes Server Root /etc/httpd
The permission of bin/sh in my Plesk + Linux system is 777 , is it necessary to change? If so , what is the potential danger and to what permission state it must be changed?
You are hosting your web site on a local server and you have the DNS pointing to the LOCAL (read: not public) IP on your LAN which means only you and those on your LOCAL network can access the site.