cPanel changes are not reflecting - web

I am trying to revamp a website. The host uses cPanel as control panel.
I changed something in index.htm file but still the old version of website gets loaded.
Just to check, I created another html file index1.htm. When I pinged the <domain-name>/index1.htm, I got the right page loaded.
What possibly is going wrong here? Is there caching happening, if yes, how can i remove it.

Yes, May be Memcached modules in installed on your server and due to that your are getting this issues, If you want to clear that cache, You will have to access your server through SSH and try with following command.
telnet localhost 11211
flush_all
quit

Related

Permanent link for website without change every time?

Hi I have made an application that once opened connects to a website connected to a vps (I use with ngrok) that hangs the localhost of xampp and uses ngrok to make it public. But many times I have to make changes and have to disconnect and restart. But this changes the ngrok site and I am forced to change it on the application as well. I am also asking for an update to all those who still have the app with the website.
How can I make a permanent link that I can keep in the app and then from the server I change the ngrok link without changing the permanent one too?
Thank you
I tried to look for something that would do this but found nothing already

Pages load issue on local IIS serv

I'm currently developing a web application running locally on IIS 10 with coldfusion 9.
I have a problem right now, caused by SSL I think. Since it's a backoffice, it has to be https, so I used our company certificate to install it locally on my computer and I linked it to the website I'm developing. The problem is whenever I use the https connection, all the pages are loaded twice (it isn't visible, but for instance when I submit a form, the data are inserted twice in the database).
I manage, with luck, to solve this issue by changing the SSL parameters "client certificates" from ignore to accept but when I do that, from time to time (like 1 out of 3) the page that I want to load takes forever (like 30s) and as I can see, uses 100% of the CPU.
It doesn't come from my code (I think) because when I navigate with http, I have none of the problem listed above.
Does anyone have an idea with this is happening and how to solve it ?
Thanks in advance ! If you need any further information, ask and I'll try to give it to you !
I've now installed Coldfusion 11 and with that the issue is not happening anymore. So I'm pretty sure it's a compatibility answer.

ReInstall Sitecore IIS can't resolve host (with ERR_NAME_NOT_RESOLVED)

I decided to reinstall Sitecore 8 instance via wizard, I have removed instance and install a new one with the same name XYZ.
but after reinstall it I am getting an error in browser - ERR_NAME_NOT_RESOLVED
I checked IIS binding, I checked hosts file, reset DNS, restart PC and etc I still get this error in any browsers.
How I can fix it? What is the issue?
I have found solution https://support.microsoft.com/en-us/kb/2823477 but I can't understend how sitecore installer can change it.
Generally, the process of site resolution goes in the following consequence:
DNS - find ip address by the hostname (from request header)
Access IIS with that IP (and port if not default 80)
IIS checks bindings by hostname from header and serves corresponding website.
Website being resolved has (merged) web.config in root folder. It has node with all sites served by current Sitecore instance, being listed. Order does matter! First successful match (by hostname or port or default) works it out.
Site being found on previous step has startItem property which is your Sitecore item served by dafault.
Please go and carefully check all those steps to see where it breaks. Also I have previously write a blog post, you may find it helpful with more details on that:
http://blog.martinmiles.net/post/how-websites-are-resolved-with-sitecore
Do any sites work with a Local name configured in 'hosts'?
You may need to disable the Loopback Check in your tcpip stack. Windows uses this as a countermeasure for man in the middle attacks by default on many systems. A registry change is needed to allow a machine to refer to itself using a name that is not its own Hostname. Sorry, but I can't remember the actual key.

404 not found on client website on Mac only - works on other computers, smartphones, tablets

I created a website based on wordpress with a custom theme setup. The live website renders fine on every computer, smartphone and tablet i've tried, except for my Mac, which I use as my local development machine. I have tried various browsers on my mac. The off-line development version renders fine.
When I visit the website http://www.redroselimos.com/ I get the following error:
Not Found
The requested URL / was not found on this server.
I suspect it is a DNS issue or perhaps a Mac configuration issue?
Mac OSX 10.7.4
Chrome 22.0.1229.79
MAMP PRO 2.0.5
DNS: 208.67.222.222/208.67.220.220 (openDNS)
If it shows up fine on every other machine then the site is validly there and it can only be a networking issue for your Mac. Most likely as it is your dev setup you have other settings in place. The 404 error means you are at least reaching a webserver, so you are getting out to the internet. There are a few things you can do:
You could check your /etc/hosts file to see if you send that domain to another IP - which would be my first suspicion.
Also check the httpd.conf on the server to see if you handle your dev machine's IP differently, or if it's rerouted in .htaccess.
You can also try tail -f /var/log/httpd/access_log or whatever your log file is and then try hitting it again from your Mac and see what comes through.
Try going through a proxy from your Mac to your site. proxify.com and hidemyass.com both work for this, that way you'll see if it's strictly an IP issue.
This should point out exactly what the error is.
I have Mac, Lion 10.7.5, Safari 6.0.1
no error. Surfed to the link you wrote, I can see the site (top left a form to login, center header a kind of gallery, some other stuff in the center)
I have no special configuration, only default. If you didn't change the configuration before that is not the problem. If you do, try to restore the default settings.
I think that is a problem with localhost, because you want to surf to your pc from the outside being inside. I don't see a valid reason to do that, if your mac is the host of the site you just need to surf to localhost.
By the way, there is an update to version 10.7.5 for Lion
What causes the Hosts File 404 Error in Mac OS X
The Hosts File is found on the user's computer machine. It is not found using the Search or Finder function. It is woven into the machine code.
The hosts file is used to map DOMAIN hostnames to IP NUMBER addresses. Example: MyDomain.com shown in browser is really a number on the internet 111.11.11.11
This map process is called "resolving" the browser alpha letter name into the numerical number address used by the internet.
Most hosts files do not have many entries because most browser name entries are resolved in DNS lookup tables provided to the user by the internet provider.
A hosts file can cause the local computer machine to present a 404 Cannot Find Page error. This is because a webpage domain entry is in the list that is wrong or it is out of date.
One day the domain entry was correctly shown to be 222.22.22.22 but really it has been changed to 333.33.33.33
Another computer machine will go to 333.33.33.33 without any problem because there is an up-to-date listing in the local machine's hosts file. Or there is not even an entry.
So, the local computer hosts file needs to correct the error. To stop the 404 error. This is done by editing the local machine's host file. The bad out-of-date entry needs to be is updated. Or the entry is needs to be completely removed from the hosts file.
If the entry is completely removed from the hosts file then the internet provider just sends the local computer machine to a internet DNS file to "resolve" the browser alpha letter entry into a numerical interet address
Instructions for editing the hosts file are here: How to Edit the Hosts File in Mac OS X with Terminal. Knowing how to use Terminal is required.

Configure permissions links result in HTTP 500 error

My company's Drupal installation leaves me unable to configure permissions from the admin panel. The key problem arises from the "Administer > By Module" page, where clicking on any of the "configure permissions" links results in a Page Not Found / HTTP 500 Error. A number of the settings pages are broken also, meaning that I cannot change the search_config module's settings, either.
I've checked Drupal's dblog messages, and there's no mention of the HTTP 500 errors there. I also wandered into the host's root (I'm on a shared hosting service) and checked out apache's error logs. No dice. Many errors from the other sites on the server, but only 2 old notifications of RSA certificate issues on my domain.
I've been working at this for about a week now, and I'm deeply perplexed as to what can cause this. I've tried turning off clean URLs, and manually entering what I believe to be the URLs for the settings pages, with the same result. This is developing into quite an issue for me, with permissions configuration offline, and also the search_config settings unavailable. Search_config is a big deal also, as I need to exclude some development nodes from the search index, as they are crashing cron's search indexing, preventing it from being up-to-date. Any light that the brilliant minds here can cast on this would be greatly appreciated. Thanks in advance!
Edit: I'd also like to add that I'd looked into PHP settings, and that the php timeout is set at 120, with php memory set at 96M. (Just to be complete! ;) )
Currently running: Drupal 6.22, MySQL 5.1.61, PHP 5.2.17, on a shared Apache 2.2.22 server.
Alrighty. Turns out, in spite of increasing the allocated memory from 64M to 96M, a further increase from 96M to 128M for PHP execution was what did the trick. The menus are all online and functioning correctly. I guess the sheer number of installed modules represents a lot of overhead for the server. Thanks to everybody for looking!

Resources