By jaccs
Hi,
I created a new droplet and added my existing domain from Godaddy. Later i configured my website in apache under /var/www/ with the name example. Now the problem is when i search example in google it is giving example.com as a first result. If i click that link it take me to apache home page, when i post complete URL like www.example.com it take me to my site page.
How can i redirect to www.example.com even i post example.com?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
HI Date: Wed, 18 May 2016 14:30:00 GMT Server: Apache/2.4.7 (Ubuntu) Last-Modified: Wed, 18 May 2016 13:29:37 GMT ETag: “68-5331dd9575240” Accept-Ranges: bytes Content-Length: 104 Vary: Accept-Encoding Content-Type: text/html
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.