Next Tutorial
Drupal 7 Tutorial Part 19: Understanding Drupal 7 Content Types & Fields Concepts !
How to create Virtual Hosts for Drupal Instance on Linux Ubuntu Local Machine
Hi Guys,
Instead of using localhost/sitename if you would like to use domains such as local.sitename.com then follow below process. It will be helpful to avoid basepath in rich text editor links and can avoid basepath issues if any !
Step 1:
Assume your code resides at /var/www/drupalsite.
Step 2:
You can access your site using http://localhost/drupalsite.
Step 3:
You would like to access same site using http://local.drupalsite.com to solve path issues and wysiywig editor images, and files link issues.
Step 4:
Open the file in your editor. /etc/apache2/sites-enabled/vhosts.conf
Step 5:
Edit file with below lines of code.

2 comments
hello
wow thats great
advanced
wow well made website
Post new comment