top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to forward the domain name to example.com to www.example.com in parallels plesk hosting server?

+1 vote
1,002 views

I need to change a domain name example.com to www.example.com for example when i enter in the URL like example.com it should automatically redirects to www.example.com

For example enter the URL in browser algoosdigital.com it automatically redirects to www.algoosdigital.com

posted May 27, 2015 by Manoj Seshu Durga Prasad Parchuri

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

put the following code in the .htaccess and you are done, replace queryhome with your url. Its a tested code and working with QueryHome :)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^queryhome.com
RewriteRule (.*) http://tech.queryhome.com/$1 [R=301,L]
</IfModule>
answer May 27, 2015 by Salil Agrawal
Similar Questions
+1 vote

I have a strange behavior and using tomcat7 on a debian.

My problem is that when in a browser I am writing mysite.com I am redirected with to www.mysite.com.

I am using the node host with some nodes alias.

I have searched in many configuration file and also on google but I do not find any answer to my behavior. Please help?

+2 votes

I have purchased a domain xyz.com but no hosting. Can I forward a subdomain say photo.xyz.com to my flickr account having URL like flickr.com/photos/abcadjsakjda.

+4 votes

Explain the scenario where name based virtual hosting seems useful ?

+2 votes

I'm trying to build Git hosting server for a group of people.

  1. I see there are Git hosting that give ability to users to create and manage their repositories. I want to give user ability to create and manage their repository only using http. But in the instruction of http protocol, user with write privileges must login in order to create the repositories.
    Is it can work with http protocol or it must be with ssh?

  2. I would like get recommendation about a software if exist. Is there any software, I can use, that give the ability to see weby and/or visually view status of repositories on the Git server, without cloning or pulling a snapshot from the git server to my local machine and without login to the git server?

+4 votes

Every now and again the nameservers in /etc/resolv.conf on my CentOS-6.5 server are commented out. I used to think this was the fault of NetworkManager, but I've stopped running that on the server (using the network service instead) and the nameserver removal still occurs.

Any guesses?

...