Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-04-2009, 06:04 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2008
Posts: 20
Rep:
|
/var/www domain name help
Hi all, stupid question, but I'm hosting a wiki on my ubuntu server and I got a domain name for it which I've port forwarded 80 to the ubuntu server which has the wiki site in /var/www. But when I access the site externally using the domain name all the categories on the left link to my private IP address. I can get to the main page, but the other links are http://192.168.x.x/index whatever.
How can I change that to the domain name instead.
Thanks in advance.
|
|
|
|
11-04-2009, 10:21 PM
|
#2
|
|
LQ Newbie
Registered: Nov 2008
Posts: 20
Original Poster
Rep:
|
bump.
|
|
|
|
11-04-2009, 11:28 PM
|
#3
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,565
|
Stab in the dark here...
how about setting the ServerName variable in your hhtpd.conf?
Evo2.
|
|
|
|
11-04-2009, 11:39 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2008
Posts: 20
Original Poster
Rep:
|
Nothing is specified in that file... I think I have to do something with virtual hosts, but not 100% sure...
|
|
|
|
11-04-2009, 11:43 PM
|
#5
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,565
|
ok, I'll bite. What version of apache are you using? Where are the config files? Did you try reading them?
Evo2.
|
|
|
|
11-04-2009, 11:50 PM
|
#6
|
|
LQ Newbie
Registered: Nov 2008
Posts: 20
Original Poster
Rep:
|
Running ubuntu, apache2. /etc/apache2/httpd.conf
Nothing inside them, there's an /etc/apache2/apache2.conf file with a bunch of stuff in it.
|
|
|
|
11-04-2009, 11:58 PM
|
#7
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,565
|
Quote:
Originally Posted by illNino
Running ubuntu, apache2. /etc/apache2/httpd.conf
Nothing inside them, there's an /etc/apache2/apache2.conf file with a bunch of stuff in it.
|
Well, my suggestion still stands, I just guessed the name of the config file incorrectly.
http://httpd.apache.org/docs/2.0/mod...tml#servername
Evo2.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:11 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|