INDIA WEB HOSTING FAQs

November 15, 2014

Linux replace command all files with sed shell command

Filed under: Scripts,SSH,www — Tags: , — Unichost @ 3:12 pm

Replace word in all files with sed via linux shell command

To replace string design/nashik to designing/india on the same file textNashik.html
Use the following linux command with the syntax.
sed -i s:design/nashik:designing/india:g textNashik.html

Another Example:
sed -i s:twitter.com/webservices:twitter.com/dnswspl:g home/*.html

Replacing phrase in all files including directories and subdirectories using sed and find

find . -type f -exec sed -i ‘s:ecommerce.html:ecommerce-shopping-cart.html:g’ *.html {} \;

NOTE: ‘:’ used as a substitue for ‘/’ as / is used in search and replace.

Related: Linux Command, Shell Command, Sed Command, Replace Text, Linux Replace

February 18, 2013

HTML signature on Webmail Company Logo in Email

Filed under: Email Hosting,Setup,Shared Hosting,WebMail,www — Tags: , — Unichost @ 11:58 am

Creating HTML signature on Webmail, Squirrel, Roundcube Other Mail clients

You must be wondering how people add their company logo in the email signature! Just follow the steps given below and you will be able to add image in your email signature as well!
1. Log in to your webmail
2. Select Roundcube webmail application
3. Click on the Personal Settings on the Right Top Panel
4. Select on Identities Tab.
5. Double Click on the Display name.
6. Click on the HTML editor to enter your HTML signature
7. Click Save after you are done.
8. Go to Preference tab and check on the box for Compose HTML message.
9. Click Save and Done.

If you are not comfortable with the code then you might want to try the below given sample code and customize it as per your requirement:

Your name goes here
Your position goes here
Your Company Name
Your Tag Line
yourname@yourdomainname .com
Your phone number goes here

Your Company Name

You will want to change all the highlighted areas to the appropriate settings for your environment prior to placing in the signature area.

Note: If you are looking for the html signature in ‘SquirrelMail’ then you might get dissapointed as there is no html signature available in ‘Squirrel Webmail’. For html signature, you can start using ‘RoundCube’.

November 2, 2011

Domain Name – Important Factors about Domain

Filed under: Domain Name,Web-Hosting,www — Tags: , — Unichost @ 12:25 pm

Important factors about domain name registration.

A factor by factor quality analysis of the domain name unichost.com, as an example, is given below. Useful for website appraisals, and buying and registering domain names.

1. Length

Unichost is a 8 character word. Shorter words make better domain names. At 8 characters unichost.com should make a good domain name.

2. Dictionary Words

Unichost per-se is not a dictionary word but it contains dictionary words. Domain names with dictionary words generally make better domain names than those without. Recommended tool for keyword analysis – www.deckey.com.

3. Top Level Domain

.com is always the best. Full score for TLD factor. People are more likely to type unichost.com than unichost.bz or unichost.me or unichost.info.

4. Distinctivity

Distinctivity is the most important factor of all. unichost.com has a high distinctivity factor. Users will be able to remember unichost.com without much effort. Good choice for a domain name.

Conclusion:

UnicHost.com scored better than 82.883% of 1984314 domain names in the Domometer database.

Related: Domain registration, Domain hosting, Website Name

May 31, 2011

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

April 27, 2011

FLUSH DNS in Windows Linux Mac OS

Filed under: Web-Hosting,www — Unichost @ 5:33 am

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

December 11, 2010

phpinfo.php file on server

Filed under: Dedicated Server,PHP,Scripts,Setup,www — Tags: , , — Unichost @ 6:42 pm

How to check php settings by using phpinfo on server?

Each server is setup differently whether it is a dedicated server or a virtual server, phpinfo() is commonly used to check configuration settings and for available predefined variables on a given web server.

phpinfo() is a valuable debugging tool as it contains all the data, information related to environment, GET, POST, Cookie, Server etc.

To create the file simply add the following lines of code to a blank document.
<?php
phpinfo();
?>

Save the file as phpinfo.php and place it in the desired directory. Lastly, call the script from a browser.

http://www.your-own-website-example.com/folder/phpinfo.php

This php file will output detail information about the current state of PHP: PHP compilation options and extensions, the PHP version, server information and environment, the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License as well.

Related: PHP Hosting, LAMP Server, cPanel Hosting

March 23, 2010

how to use ftp client with your web hosting account

Filed under: Ftp Server,Transfer,Web-Hosting,www — Tags: , , — Unichost @ 1:50 pm

Tutorial to use FTP Client, CoreFTP with your web hosting account.

In this ftp tutorial we will assume that you own the domain ‘yourdomain.com’ and your FTP username is ‘ftpusername@yourdomain.com’.

Follow these steps to complete the ftp tutorial:

1. Get ftp client from CoreFTP website: http://www.coreftp.com/download/coreftplite.exe
2. Once you install CoreFTP, open it up. You should now see the ‘Site Manager’. Your screen should look like this:

FTP Site Manager

This is the screen where you enter your web hosting account information.

[Note: This is just an example, not your actual username and password.]

  • Site Name: yourdomain
  • Host / IP: ftp.yourdomain.com
  • User Name: ftpusername@yourdomain.com
  • Password: yourftppassword
  • If you are behind a firewall, enable Passvie Mode, by checking the ‘PASV Transfers’ checkbox.

To connect to the server, click on the ‘Connect’ button. And you are done.

Once the FTP program makes a successful connection, the left pane will show files/folders on your computer, the right pane will shows files/folders on the FTP site / remote web server.

Where, in which folder to upload your website files?

On Linux server /cPanel Hosting account, you will be able to see ‘public_html’ or ‘www’ folder in the right view.
On Windows server /DotNetPanel Hosting account, it will be ‘wwwroot’ folder.

Please note that index.html or index.htm or default.html or index.php or index.asp [windows only] file acts as your homepage. Whenever a visitor types in http://yourdomain.com UnicHost Web Server will look for one of the file first and will load homepage of your website.

Facing FTP connection problems?

1. If you just obtained your web hosting account at UnicHost then your domain may not be ready to start using our service. So, in this case, instead of using your domain in the ‘Host or URL’ box you should use the IP address given to you in your welcome e-mail.
2. It may be that you are behind a firewall and/or router and need to use passive FTP. Check step 2 to see how to enable passive FTP.

Once the FTP program makes a connection, you will be able to see/browse files and folders in the right view.

Any further help, we are there for you. Call us or open a support ticket at support [at] unichost.com

June 14, 2009

How to point multiple domain names to my existing website?

Filed under: Domain Name,Web-Hosting,www — Tags: , , , — Unichost @ 6:30 pm

Do you allow to point multiple domain names to my existing website?

Yes, this is also called as domain parking. We can point multiple domains for you to your existing website. For this you will need to submit your request through support help desk. These domains must point to your main website.

If you are looking to host another website under the same hosting package, please get in touch with our sales team. We do offer generous multiple domain hosting discounts to host multiple websites under single account. (Usually you won’t get this facility with other hosts.)

[Note: You will be sharing existing resources for all the websites you add under the existing hosting account. There won’t be a separate control panel for each website.]

May 28, 2009

What is the difference between www and public_html ?

Filed under: Web-Hosting,www — Tags: , , , — Unichost @ 2:01 pm

Is there any technical difference between www and public_html?

Actually, there is no difference between www and public_html. Technically, the default directory created to upload your web files is public_html. To make it more user friendly and understandable – www, the symbolic link is created (it is like a desktop shortcut) that points to the same folder. Upload your website related content to one of these folders, it doesn’t matter at all.

Powered by WordPress