Categories
Dedicated Server Virtual Private Server VPS Hosting Web-Hosting Windows Hosting

Website on plesk windows Server asking for Username and password

Website on Plesk Windows Server/Plesk VPS asking for Username and password.

I have recently purchased a Windows VPS with Plesk control panel and have uploaded website files. While visiting my website it is asking for username and password authentication. Now, I haven’t set any authentication on server for any website, what shall I need do?

This is quite common with the sites hosted on windows server with plesk as a control panel. You are not allowed to acces the site whtout authentication – entering username and password. This is not a bug or issue but is related to password synchronization with IIS server. To resolve this, you will need to synchronize the password.

Below given are some simple steps that you will need to follow:

  1. RDP to your windows server as an administrator.
  2. Start>Run>cmd [this will take you to sytem command prompt]
  3. cd to plesk\admin\bin [shortcut is cd %plesk_bin%]
  4. Type websrvmng.exe –update-anon-password –domain-name=yourdomain.com

The above command will synchronize the password and you will require no more password authentication to view the content.

If this doesn’t work for you, then please open a support ticket and we’ll investigate further and fix the issue for you happily.

~Admin

Related: Windows VPS, Windows Server, Plesk VPS, Windows Dedicated

Categories
Email Hosting Setup Shared Hosting WebMail

Setting up mobile for POP-IMAP email account

Setting your mobile for POP/IMAP email account hosted on UnicHost server.

  1. On your mobile, iPhone, tap Mail or from the settings menu choose Settings > Mail > Accounts > Add an account
  2. Choose your email account type: Personal(POP3)
  3. Add your email address: you@yourdomain.com
  4. Select manual setup
  5. Select a server type — Personal POP3
  6. Server settings:
    Enter your email address > you@yourdomain.com > password > Enter your incoming mail server (which may look like “mail.yourdomain.com” Port:995 Security: SSL/TLS) > Next > Enter your outgoing mail server (which may look like “mail.yourdomain.com” Port:465 Security: SSL/TLS) > Enter your username and password for incoming and outgoing servers (you may need to authenticate to send email) tick YES or Enter username/password for an outgoing server.
  7. That’s it! You are ready with your emails on the go.

These 5 easy steps applies to all the accounts hosted on UnicHost windows servers or linux server. For further support feel free to contact one of our representative at support helpdesk.

Related to: Mail Servers, Email on Mobile

Categories
Dedicated Server PHP Scripts Security Virtual Private Server Web-Hosting www

Captcha image is not working – Fatal error?

Captcha image is not working – Fatal error?

You have the GD image library installed and otherwise working.
Still unable to get captcha with the captcha plugin.

You are not sure what’s the problem as it works on one of your other sites.  When you try to include the captcha on your website or contact form it generates an error message like…
Call to undefined function imagettftext() OR
Fatal error: Call to undefined function imagettftext() in /home/user/public_html/appfolder/plugins/captcha/captcha.php on line 99  OR
Fatal error: Call to undefined function imagefttext() in /home/user/public_html/lib/captcha/captcha.php on line 329 OR
‘–enable-gd-native-ttf’

Problem could be, because the standard PHP “imagefttext()” function does not work on your server.
It can caused by the fact that there is no –enable-gd-native-ttf key installed on your server as the Cart uses GD Library for displaying the verification image.

Please note that PHP must be configured with the following keys:
–with-gd –enable-gd-native-ttf  Contact your host to make the change!

Any idea why or how it can be fixed?

imagettftext() is part of the GD image functions library, which is not always part of PHP (the code CMS/Cart runs on).
You need to contact your host and ask them to install the PHP GD library. It’s really simple for them to do and is fairly common, so if they give you a hard time about it, I would seriously consider switching to better and friendly host – UnicHost :).

Related: Web Server, PHP Hosting, LAMP Server, cPanel Hosting

Categories
Web-Hosting www

FLUSH DNS in Windows Linux Mac OS

FLUSH DNS in different platforms

In Microsoft Windows, you can use the command flushdns to flush the DNS resolver cache.
Open the command prompt and type the following:
C:>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.

In Mac OSX Leopard, you can use the command dscacheutil -flushcache to flush the DNS resolver cache:
bash-2.05a$ dscacheutil -flushcache

In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:
bash-2.05a$ lookupd -flushcache

In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon.
To restart the nscd daemon, use the command
#/etc/init.d/nscd restart

Related: DNS Server, Linux Server, Windows Server

Categories
Dedicated Server Virtual Private Server Web-Hosting

Clear-ssh-command-history-in-ssh-cache-from-server

When I login to SSH and push the up arrow, the previous commands are shown. How do I clear or delete that log?

Clear the history for current login or current user.
#history -c

First find the history file for particular user.
Delete .bash_history file, will be recreated again next time.
#locate .bash_history
#rm .bash_history

It is not a best practice to totally disable the ssh command history on any dedicated server or vps server. It’s a quick reference to user’s past actions on server.