Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I loaded Drupal folder into public_html. All works fine. The site opens correctly, but only when I give full address including folder as IP:80/drupal. How do I use only IP:80 to access the website. I am using cPanel.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

I found the answer. I need to edit public_html/.htaccess and put DirectoryIndex /drupal_installation_folder/index.php

share|improve this answer
add comment

You can put everything in the drupal installation folder in public_html. If the index.php file is there, it will load as you expect it to.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.