SunQuest
           Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 1st, 2004, 12:34 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
canonical domains help

looking to set up a canonical domain name (canonical.domain.com)
looked in Apache help files and didnt find my solution

Apache 2.0.48

Reply With Quote
  #2  
Old November 6th, 2004, 01:14 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

Is what you're trying to do supposed to be done through Apache, or do you need to create DNS records? What exactly are you trying to do?

-Tim

Reply With Quote
  #3  
Old November 6th, 2004, 01:28 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

not sure what i need to do

i am using apache, what would i need to do to make it aware of the canonical domain name

and what else would i need to do

i am at step 0 with canonical domains, and i really need a step by step

Reply With Quote
  #4  
Old November 6th, 2004, 02:33 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

Are you setting Apache's domain name or are you doing virtual hosts?

I can't help you unless you know what you are trying to do.

-Tim

Reply With Quote
  #5  
Old November 6th, 2004, 02:50 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

well, its my ip address, i dont have my server pointing to my pc

but i want to eventually have it set up to be able to host my domain on my on system, which is why i want to learn about how it is set up

so it would be localhost/depts/web/service/
i want to be able to do service.localhost/

is that possible?

Reply With Quote
  #6  
Old November 8th, 2004, 08:44 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

Are you trying to bind your domain name to your ip address so that when someone on the internet enters your domain name in their web browser they arrive at your server...

or are you trying to to make Apache respond to a call to a subdomain, as in albums.example.com?

-Tim

Reply With Quote
  #7  
Old November 8th, 2004, 09:07 PM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

currently, i want to leave my domain name on an external (professional) server

i am using localhost for verification purposes, though eventually, i would like to set up a full time server for my clients, but do not want to do this until i know how to maintain one, and that includes being able to set up canonicals

is the canonical http://test.localhost/ valid ? can i do this without pointing an actual domain name
or even http://test.12.34.56.78/

Reply With Quote
  #8  
Old November 9th, 2004, 07:10 PM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: canonical domains help

so your trying to have

http://yourwebsite.com

resolve to a server on the internet

but you want

http://subdomain.yourwebsite.com

resolve to your local box, and NOT the other server on the internet?

its hard to understand what you want it to do. it seems like you want to do 3 things. what do you want to do right now though?

localbox is win or nix?

you have a dedicated ip address from your isp?

Reply With Quote
  #9  
Old November 9th, 2004, 08:32 PM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

no
i want locally to have http://sub.localhost/
i want my domain to stay as is, for now, until i can complete setting up local machine

win xp pro sp2
apache 2.0.48

Reply With Quote
  #10  
Old November 12th, 2004, 08:05 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

It doesn't make sense to have a subdomain.localhost. Why don't you just use localhost for testing?

The idea of the subdomain is that it's a different computer or network within the domain... such as box1.example.com and box2.example.com would be two different computers within the same domain.

localhost is more of an alias for the local machine than a network name. submacine.localhost doesn't make sense, do you have another computer inside your computer?

With that said, I would configure it to use name based virtual hosting, but I can't say 100% if Apache would handle a submachine.localhost type request.

Look at the virtual hosting section of your httpd.conf file. I would configure it somewhat like this:

NameVirtualHost *:80
<VirtualHost *>
ServerName subdomain.localhost
DocumentRoot /mnt/hd/web/subdomain
</VirtualHost>

Obviously the values would depend on your specific setup.

For more information on virtual hosting, httpd.apache.org/docs-2.0/vhosts.

-Tim


Reply With Quote
  #11  
Old November 12th, 2004, 11:04 PM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

with this

NameVirtualHost *:80
<VirtualHost *>
ServerName subdomain.localhost
DocumentRoot /faq
</VirtualHost>

no go (cannot be displayed)

with this

NameVirtualHost *:80
<VirtualHost *>
ServerName subdomain.localhost
DocumentRoot D:/webdocs/kender/faq
</VirtualHost>

directs all of localhost to faq page

ah well..

Reply With Quote
  #12  
Old November 13th, 2004, 03:10 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

So try something like this

NameVirtualHost *:80

<VirtualHost *>
ServerName localhost
DocumentRoot D:/webdocs/kender/htdocs
</VirtualHost>

<VirtualHost *>
ServerName subdomain.localhost
DocumentRoot D:/webdocs/kender/faq
</VirtualHost>

Will that work?

-Tim

Reply With Quote
  #13  
Old November 13th, 2004, 03:27 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

localhost worked, subdomain didnt

Reply With Quote
  #14  
Old November 13th, 2004, 03:27 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: canonical domains help

i do want to thank you for helping though! i do appreciate the time

Reply With Quote
  #15  
Old November 15th, 2004, 04:59 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: canonical domains help

Well at least now we know.

-Tim

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > canonical domains help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread: