Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Drupal Basics Site Building with the Drupal Interface Creating Content

erik tzoc
PLUS
erik tzoc
Courses Plus Student 751 Points

Drupal Base URL - the URL which takes your browser to your home page. With MAMP it defaults to http://localhost:8888

HI, I cannot access the Drupal site Base URL - the URL which takes your browser to your home page. With MAMP default to ttp://localhost:8888. Can somebody please explain the steps to view and configure my first drupal website. I created the database in the myPHPadmin from the WAMP. Thanks.

jeremy rackley
jeremy rackley
22,336 Points

You are correct that would be your $base_url variable in your situation. What is it that you are trying to do exactly? Is your site installed already and you can not figure out where? If that is the case then you would need to add in where your drupal directory is after the localhost. The directory should be in your htdocs folder so it would be something like http://localhost:8888/"whatever your directory name is" If your Drupal directory is the name of the install directory such as drupal-7x or similar then you can rename it to drupal and then just go to http://localhost:8888/drupal.

1 Answer

jason chan
jason chan
31,009 Points

if you're on wamp (windows server) type

localhost

or 
localhost/foldername
localhost/drupal

it's going to be default port 80.

The only reason why mamp "Mac server", uses port 8888 for the web services. I hope that helps. If your on windows you do not have to worry about ports.