Solved

drupal default site port appended

Posted on 2009-03-30
1
303 Views
Last Modified: 2013-12-12
i'm wondering if there is a way to manually set the sites default url in drupal.

I'm running my drupal website on subdomain like so

http://sub.domain.com

however it when i go to

'/admin/settings/site-information'

it is showing the following

http://sub.domain.com:8014/

ie it is appending the port number. I'm sure this is an apache issue, however i'm with shared hosting that is a little slow to respond.  Any quick tips.

0
Comment
Question by:frosty1
1 Comment
 

Accepted Solution

by:
frosty1 earned 0 total points
ID: 24022781
there is a setting in setting.php that you can set the default url

 $base_url = 'http://sub.domain.com';  // NO trailing slash!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache/PHP: Cannot make phpinfo() and phpmyadmin work 4 34
WordPress syntax 2 26
WordPress TK Title 8 24
Checking if varaible is empty 6 29
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now