Windows 7, Linux, Mac, JavaScript, jQuery, ExtJs, Angular, .NET, Java, Android, iOS, php, mysql, lucene and more...
Thursday, June 22, 2017
Unable to resolve host '' ubuntu 14.04
I face this issue when I was adding new web site to my web server which is hosted in Digital Ocean Cloud service. So what happened was, when I using sudo commands to restart or reload apache2 server its restring with following error messages.
For me everything worked well despite these two error messages.
1. Error 1 - Unable to resolve host 'YOUR HOST NAME' .
2. Error 2 - sum_functio_error() //I don't remember this function name I'll update this later.
So the fix was very simple.
First open your hotsts file.
sudo nano /etc/hosts
Output File
127.0.1.1 hostname
127.0.0.1 localhost
sudo nano /etc/hostname
Output File
hostnamexxx
So in my case hostname in hostname file and hosts file difference.So I put the hostnamexxx in hosts file and restarted the server.
*You have to restart your server to apply any hosts file changes.
Please comment bellow if you need further explanation.
Tuesday, June 13, 2017
SMS sending from old number even after transferring the number - iphone 6 ( Australia )
I came across this problem after I changed my mobile provider. Transfer of number was successful and I was able to call from my old number. But the problem was after I send a SMS its actually showed my new peremptory number to the recipient. So I ended up with so many 'Who is this' messages.
So lets fix this for iPhone 6 ( iOS 10.3.2 ) .
1. Turn of iMesseges.
- Settings > Messages > Switch off iMessges
- Settings > Facetime > Switch off Facetime
3. Reset network settings of your iphone. After this your iphone will be restarted.
4. After you restarted the iphone switch on facetime and imessage,
Subscribe to:
Posts (Atom)
-
I'm using following code part to access a ReST API. I'm communicating with this API using a X509 client certificate. In d...
-
Recently I purchased nord-vpn for testing. But I could not use their service due to a technical reason. So I wanted to cancel and get my mo...
-
I noticed that all events of root/home page isn't working after I have navigated back in my ionic 4 app. So if you using a back butto...