Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th June 2007, 23:29
Russ649 Russ649 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Point domains to dedicated server

Hi,

I have a dedicated server that I'd like to host a number of websites on. I've copied a few of my sites over to it and have a problem pointing my domain names to the site.

Say, for example my server IP address is 123.234.345.456. I can set my sites up so I can access them similar to http://123.234.345.456/SiteOne/, http://123.234.345.456/SiteTwo/, http://123.234.345.456/SiteThree/ etc

I have domain names to go with these e.g. SiteOne.com, SiteTwo.com etc. I can use web forwarding to point SiteOne.com to http://123.234.345.456/SiteOne and it works ok except all the links say http://123.234.345.456/SiteOne/page.html when I would rather it said www.SiteOne.com/page.html

How might I fix this ?

Thanks,

Russ
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2007, 20:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

You must create virtual hosts for each of your web sites (see http://httpd.apache.org/docs/2.0/vhosts/name-based.html ), and then you must create A records for your domains, not forwards.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 06:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 16:44
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 14:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.