Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > web sharing problems

web sharing problems
Thread Tools
Forum Regular
Join Date: Apr 2001
Location: NY, NY, USA
Status: Offline
Reply With Quote
Feb 12, 2003, 09:53 PM
 
I recently purchased a domain name and pointed it to my computer. Now, when I load "www.mydomain.com", it accesses my machine via web sharing. So far, so good.
However, when I click a link on the default web page to bring up "www.mydomain.com/somedir", it changes the current url to "xxxx.nyc1.dsl.speakeasy.net/somedir". Why is my domain name not "sticking"?
Anyone's "how-to" would be greatly appreciated!
- Sahara
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Feb 13, 2003, 08:50 AM
 
Edit your /etc/httpd/httpd.conf. (with sudo pico in Terminal, or BBedit, etc.)

Change
UseCanonicalName On
to
UseCanonicalName Off

This will tell Apache to use whatever hostname people used to reach your website, rather than replacing the hostname with Apache's idea of your hostname.

While you're at it, you could set
#Servername fisheye
to
Servername www.mydomain.com
     
sahara  (op)
Forum Regular
Join Date: Apr 2001
Location: NY, NY, USA
Status: Offline
Reply With Quote
Feb 13, 2003, 10:10 AM
 
Ok, thanks. I'll give it a shot.
- Sahara
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:37 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2