Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-03-20 13:05:44
Point:500 Replies:27 POST_ID:828576USER_ID:11059
Topic:
PHP Scripting Language;JavaScript;Apache Web Server
Dear Export,
I've shared-server account in one hosting and now I switch into unmanaged VPS account in
the same hosting company.
So at the shared-server I got one IP and
at VPS acount I got other new IP.
But when I connect ot my website after pay the VPS account, sometimes
it go to VPS'IP correctly, but sometimes, it go to the old IP of shared-server
I reported it to hosting company, they mentioned it might be due to
DNS propagation delay but it is already 4 days long, how DNS propagation is
so long. ANd they reply, you may need to change httpd.conf
So Why my website is not stable. Sometimes, I can see my expected page, sometimes, I
see the old shared-server account , suspend page I mean the old account is suspended
When I try to inconfig/flushdns, but it doesn't help at all
and when I try to ping mysite.com, it report VPS IP bit the content of webpage
is still the old shared-account page. Why
I aks other users to test it at Hong Kong side, all users is getting the same unstable on
my website. At HongKong side, I get unstable webpage, sometimes new VPS page
and sometimes old acount webpage, WHy ?
They just reply me at US side, my website display correct content page and capture image
to let me see. I talked to them. I mean the website is unstable
Please advise
DUncan
I've shared-server account in one hosting and now I switch into unmanaged VPS account in
the same hosting company.
So at the shared-server I got one IP and
at VPS acount I got other new IP.
But when I connect ot my website after pay the VPS account, sometimes
it go to VPS'IP correctly, but sometimes, it go to the old IP of shared-server
I reported it to hosting company, they mentioned it might be due to
DNS propagation delay but it is already 4 days long, how DNS propagation is
so long. ANd they reply, you may need to change httpd.conf
So Why my website is not stable. Sometimes, I can see my expected page, sometimes, I
see the old shared-server account , suspend page I mean the old account is suspended
When I try to inconfig/flushdns, but it doesn't help at all
and when I try to ping mysite.com, it report VPS IP bit the content of webpage
is still the old shared-account page. Why
I aks other users to test it at Hong Kong side, all users is getting the same unstable on
my website. At HongKong side, I get unstable webpage, sometimes new VPS page
and sometimes old acount webpage, WHy ?
They just reply me at US side, my website display correct content page and capture image
to let me see. I talked to them. I mean the website is unstable
Please advise
DUncan
Author: duncanb7 replied at 2024-03-22 06:48:55
THanks for your reminder
Expert: Rob Jurd replied at 2024-03-22 04:21:50
That is a normal timeframe for the DSN to propagate. You should be aware though that the Chinese government does monitor the Internet in Hong Kong. Not as much as mainland perhaps but it's certainly there. I have just returned from both Hong Kong and shanghai and noticed significant delays and timeouts to most sites on multiple private and public networks. When i connected to my vpn i didnt have these issues. Certainly sites such as YouTube are outright blocked in mainland china and not in Hong Kong, though there were significant issues regarding general browsing
Author: duncanb7 replied at 2024-03-22 03:16:33
Thanks for all of your reply
THe root cause is the DNS propagation delay that is almost 48 hours to finish
And there is no any firewall at Hongkong
THe root cause is the DNS propagation delay that is almost 48 hours to finish
And there is no any firewall at Hongkong
Expert: Rob Jurd replied at 2024-03-21 20:05:40
Have had lot of trouble with DNS issues in China and Hong Kong. I suspect it would be the Chinese firewall not allowing DNS updates as quickly or as you would like. What I'm saying is you may need to wait a lot longer for this to happen
Author: duncanb7 replied at 2024-03-21 07:38:54
Dear DrDamnit,
did you try the IP and domain name, are you okay to connect my website ?
Is it stable or not ?
Please make a comment
Duncan
did you try the IP and domain name, are you okay to connect my website ?
Is it stable or not ?
Please make a comment
Duncan
Author: duncanb7 replied at 2024-03-21 07:37:09
my VPS hostname is as follows
Hostname: http://vps.e-hftrade.com showed by hosting company
but when login SSH shell, server name is root@server
DO think it should root#vps
ANd I go to check the file /etc/hosts, it is like that
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 server.e-hftrade.com server vps.e-hftrade.com vps localhost4.localdomain4 localhost localhost4 cpanel-x64.vps.me localhost.localdomain cpanel-x64
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
DO I need to delete those server in server.e-hftrade.com
Hostname: http://vps.e-hftrade.com showed by hosting company
but when login SSH shell, server name is root@server
DO think it should root#vps
ANd I go to check the file /etc/hosts, it is like that
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
212.1.213.78 server.e-hftrade.com server vps.e-hftrade.com vps localhost4.localdomain4 localhost localhost4 cpanel-x64.vps.me localhost.localdomain cpanel-x64
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
DO I need to delete those server in server.e-hftrade.com
Expert: Michael Munger replied at 2024-03-21 07:08:54
Do you have access to a computer where the problem exists? a dig report from that area would be helpful.
Expert: Michael Munger replied at 2024-03-21 07:07:52
Fly should be TTL. I am on my phone, and auto correct changed it.
Expert: Michael Munger replied at 2024-03-21 07:06:59
Sorry. Not sure what I was thinking. Your FLY values are in seconds. That's just a couple of hours not days.
Assisted Solution
Expert: Michael Munger replied at 2024-03-21 07:03:11
125 points EXCELLENT
8524 is the number of minutes for the TTL. it's 5+ days before the DNS will complete propagation. As someone above me said: it's a DNS issue.
Author: duncanb7 replied at 2024-03-21 05:37:41
If you are at US, you should connect the right webpage content with login and input box
Author: duncanb7 replied at 2024-03-21 05:35:30
e-hftrade.com. 8524 IN A 212.1.213.78
What is that menaing 8525, in, A respectively ?
Please advise
Duncan
What is that menaing 8525, in, A respectively ?
Please advise
Duncan
Author: duncanb7 replied at 2024-03-21 05:34:31
the previous is wrong site it should e-hftrade.com instead of ehftrade.com, sorry about
that for dig result
====================
; <<>> DiG 9.3.2 <<>> e-hftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1470
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;e-hftrade.com. IN A
;; ANSWER SECTION:
e-hftrade.com. 8524 IN A 212.1.213.78
;; AUTHORITY SECTION:
e-hftrade.com. 46528 IN NS ns1.e-hftrade.com.
e-hftrade.com. 46528 IN NS ns2.e-hftrade.com.
;; ADDITIONAL SECTION:
ns1.e-hftrade.com. 132927 IN A 212.1.213.78
ns2.e-hftrade.com. 132927 IN A 212.1.213.78
;; Query time: 17 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Thu Mar 21 20:33:28 2013
;; MSG SIZE rcvd: 115
that for dig result
====================
; <<>> DiG 9.3.2 <<>> e-hftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1470
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;e-hftrade.com. IN A
;; ANSWER SECTION:
e-hftrade.com. 8524 IN A 212.1.213.78
;; AUTHORITY SECTION:
e-hftrade.com. 46528 IN NS ns1.e-hftrade.com.
e-hftrade.com. 46528 IN NS ns2.e-hftrade.com.
;; ADDITIONAL SECTION:
ns1.e-hftrade.com. 132927 IN A 212.1.213.78
ns2.e-hftrade.com. 132927 IN A 212.1.213.78
;; Query time: 17 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Thu Mar 21 20:33:28 2013
;; MSG SIZE rcvd: 115
Author: duncanb7 replied at 2024-03-21 05:32:47
; <<>> DiG 9.3.2 <<>> ehftrade.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2044
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;ehftrade.com. IN A
;; ANSWER SECTION:
ehftrade.com. 3600 IN A 50.63.202.31
;; AUTHORITY SECTION:
ehftrade.com. 3600 IN NS ns06.domaincontrol.com.
ehftrade.com. 3600 IN NS ns05.domaincontrol.com.
;; ADDITIONAL SECTION:
ns05.domaincontrol.com. 49755 IN A 216.69.185.3
ns05.domaincontrol.com. 49755 IN AAAA 2607:f208:206::3
ns06.domaincontrol.com. 85388 IN A 208.109.255.3
;; Query time: 54 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Thu Mar 21 20:32:28 2013
;; MSG SIZE rcvd: 158
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2044
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;ehftrade.com. IN A
;; ANSWER SECTION:
ehftrade.com. 3600 IN A 50.63.202.31
;; AUTHORITY SECTION:
ehftrade.com. 3600 IN NS ns06.domaincontrol.com.
ehftrade.com. 3600 IN NS ns05.domaincontrol.com.
;; ADDITIONAL SECTION:
ns05.domaincontrol.com. 49755 IN A 216.69.185.3
ns05.domaincontrol.com. 49755 IN AAAA 2607:f208:206::3
ns06.domaincontrol.com. 85388 IN A 208.109.255.3
;; Query time: 54 msec
;; SERVER: 218.102.52.81#53(218.102.52.81)
;; WHEN: Thu Mar 21 20:32:28 2013
;; MSG SIZE rcvd: 158
Author: duncanb7 replied at 2024-03-21 05:31:55
COuld help to check it ?
Author: duncanb7 replied at 2024-03-21 05:31:34
I have checked with dig window version, it shows the new IP
and corrected nameserver
My domain and IP is as follows
============================
domain name:www.e-hftrade.com
old IP (shared-server)212.1.214.60
new IP(VPS server) 212.1.213.78
and corrected nameserver
My domain and IP is as follows
============================
domain name:www.e-hftrade.com
old IP (shared-server)212.1.214.60
new IP(VPS server) 212.1.213.78
Expert: Michael Munger replied at 2024-03-21 04:48:31
What's the domain, what was the old IP, and what is the new IP?
Accepted Solution
Expert: noci replied at 2024-03-21 04:15:51
125 points EXCELLENT
.htaccess files are hidden on a server...
(the . prefix makes them "hidden"...)
ls -la
will show them if they are there.
And they are placed in the directory they are supposed to protect/configure.
Also ipconfig/flushdns only flushes your local cacheon you local system, not all intermediate caches with providers.
Try the dig tool (domain information groper)
dig +trace your.domain.name
or
dig +showsearch your.domain.name
should give more info.
These should be done local, not on the server.
You may need to find a dig version for windows, don't know if it is there by default, or even if get installed).
(the . prefix makes them "hidden"...)
ls -la
will show them if they are there.
And they are placed in the directory they are supposed to protect/configure.
Also ipconfig/flushdns only flushes your local cacheon you local system, not all intermediate caches with providers.
Try the dig tool (domain information groper)
dig +trace your.domain.name
or
dig +showsearch your.domain.name
should give more info.
These should be done local, not on the server.
You may need to find a dig version for windows, don't know if it is there by default, or even if get installed).
Author: duncanb7 replied at 2024-03-21 04:07:29
Author: duncanb7 replied at 2024-03-21 04:01:10
why I can't find my .htaccess file, where is located ?
Author: duncanb7 replied at 2024-03-21 03:47:55
I already use ipconfig/flushdns to clear up the old IP of old shared-server account
But it still not stable
Duncan
But it still not stable
Duncan
Author: duncanb7 replied at 2024-03-21 03:47:05
When I use Charles Proxy, my website works and stable.
SO I guess becoz Charles Proxy will get the website at US side instead of at
my local point of HOngkong
duncan
SO I guess becoz Charles Proxy will get the website at US side instead of at
my local point of HOngkong
duncan
Author: duncanb7 replied at 2024-03-21 03:43:09
After rebuildhttpd.conf, it is still problem, and I check /usr/local/apache/conf/httpd.conf,
it showed the ip of the VPs which is normal .
But I still not able to have a stable my website connection.
If sometimes my website will go back to my old IP of shared-server acccount,
and I ping it on window , it showed the old of IP.
But at US side, my hosting said they found no problem and report the new VPS' IP address
At HOng Kong side, all of users are aware my website is not stable, sometimes, works, sometmes not,
After reboot and rebuild httpd.conf, it is still in problem, so it might NOt relate to
httpd.conf or apache issue
Or it is related to DNS propagation
Any more suggestion
DUncan
it showed the ip of the VPs which is normal .
But I still not able to have a stable my website connection.
If sometimes my website will go back to my old IP of shared-server acccount,
and I ping it on window , it showed the old of IP.
But at US side, my hosting said they found no problem and report the new VPS' IP address
At HOng Kong side, all of users are aware my website is not stable, sometimes, works, sometmes not,
After reboot and rebuild httpd.conf, it is still in problem, so it might NOt relate to
httpd.conf or apache issue
Or it is related to DNS propagation
Any more suggestion
DUncan
Assisted Solution
Expert: ArneLovius replied at 2024-03-21 02:30:40
125 points EXCELLENT
it sounds much more like DNS than a problem on the VPS
perhaps your DNS hosting company has a DNS server that your updated address has not propagated to ?
perhaps your DNS hosting company has a DNS server that your updated address has not propagated to ?
Assisted Solution
Expert: noci replied at 2024-03-21 02:22:38
125 points EXCELLENT
DNS works with TTL in the entries on the server.
all intermediate servers (between any client and your DNS) may retain the RR (dns resourse record) for TTL seconds in the cache. [ no need to ask the parent to get an answer.]
If the TTL counter (decremented every second when in cache or at client systems) reached 0 the record drops from the cache.
So it boils down to how long were the original TTL in the RR's.
86400 seconds = 1 day.
Until all caches are cleared from the old records someone may get the wrong answer.
[ you normaly reduce the TTL 10 10 minutes >original TTL seconds before you cut-over
so this unstable period is only a few minites, after succesfull cut-over you restore it to the original TTL ].
Then you may have code in your cgi scripting, redirecting to some hardcoded address.
or in the apache httpd.conf found mostly in (/etc/httpd or /etc/apache) directories.
of some .htaccess file
you need to search your config for it.
all intermediate servers (between any client and your DNS) may retain the RR (dns resourse record) for TTL seconds in the cache. [ no need to ask the parent to get an answer.]
If the TTL counter (decremented every second when in cache or at client systems) reached 0 the record drops from the cache.
So it boils down to how long were the original TTL in the RR's.
86400 seconds = 1 day.
Until all caches are cleared from the old records someone may get the wrong answer.
[ you normaly reduce the TTL 10 10 minutes >original TTL seconds before you cut-over
so this unstable period is only a few minites, after succesfull cut-over you restore it to the original TTL ].
Then you may have code in your cgi scripting, redirecting to some hardcoded address.
or in the apache httpd.conf found mostly in (/etc/httpd or /etc/apache) directories.
of some .htaccess file
you need to search your config for it.
Author: duncanb7 replied at 2024-03-20 14:00:04
what is httpd.conf I should change for the unstable Ip?
Author: duncanb7 replied at 2024-03-20 13:26:35
my IP of 212...... is shared IP that my hosting company told me