Hello I am new to this but after two weeks of trying to figure out, still unable to do so. After installing and going through Mamp and the Drupal process, my drupal site was given a URL as so;
http://localhost:8_8_/drupal-6.16/

I purchased my domain with a drupal "compatible" hosting service, which may have nothing to do with this as well.

Anyway, I cannot figure out how to change my default given URL to my actual purchased domain name. I figured out how to do the opposite, and get people to go from my domain name onto this localhost:8888, but I cannot figure out how to do vice versa! I have spent two weeks on this! Please help!

I changed the settings.php file which is what I believe did the opposite of what I am trying to do. I know I am missing something because no one else seems to have this problem. Is this something that my hosting company must do or have I missed something?

Comments

vm’s picture

domain names are pointed to an IP with DNS servers. The DNS must point to the server where your site is hosted and this is usually done through the admin panel where you purchased the domain name. Other than that if your hosting this server on your ISP you may have to check with them to ensure you are allowed to host your own server at home through them.

mactoph’s picture

Is the $base_url variable in your settings.php file set to "http://localhost:8_8_/"?

If so, you can try commenting it out or change it to your purchased domain name.