Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Sponsored Reviews   1,000 Directory Submissions   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-10-2003, 11:04 AM   #1 (permalink)
Inactive
 
Join Date: 11-09-03
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

matt260384 is liked by many
Configuring server to respong and deal with domain names

Hi,

I'm using a friends server to host both of our websites. I'm using zoneedit.com to link the domains to the server ip. There is no place on zoneedit.com to set up what page or folder it uses for each domain, you can only enter the ip address. I've been told that you have to configure the server to respond to certain domain names and therefore display the appropriate pages. At the moment its just displaying the root directory. The server is using apache. Anyone know how to configure the server for this? Help would be appreciated


Thanks

Matt

p.s thanks fishfreek for introducing me to zoneedit.com
matt260384 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-10-2003, 11:15 AM   #2 (permalink)
CEO, V7 Inc
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,618
iTrader: 2 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Moved to Dedicated Server forum.
__________________
Buy Permanent Contextual Links - V7N Web Directory

Questions? Call V7 toll free @ 1.888.876.8762
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 12:20 PM   #3 (permalink)
Inactive
 
Join Date: 10-13-03
Location: Brooklyn Park, MN
Posts: 410
iTrader: 0 / 0%
Latest Blog:
None

server-admin is liked by many
Send a message via Yahoo to server-admin
You sould read up on apache before you try to complete this
server-admin is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 01:35 PM   #4 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
You need to configure apache to use name based virtualhosting. See the below link for more documentation.

http://httpd.apache.org/docs-2.0/vhosts/name-based.html

You need to either use a web based admin program like webmin to do this or edit the httpd.conf file manaully to enter the virturalhost information.

Each website should have its own directory somewhere on the server that you set as the document root.

Once you have your domain resolving to the correct IP address then your set as far as zoneedit.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 01:55 PM   #5 (permalink)
Inactive
 
Join Date: 11-09-03
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

matt260384 is liked by many
wow! this is very confusing. that apache link makes no sense to me, im a beginner to servers and web hosting etc. From what i gather that is for hosting two domains on my server. Forgetting that for a bit, how do i set a page to open automatically for a domain name (like index.htm or home.htm). Im hoping this is a little less complex
matt260384 is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 02:05 PM   #6 (permalink)
Inactive
 
Join Date: 10-13-03
Location: Brooklyn Park, MN
Posts: 410
iTrader: 0 / 0%
Latest Blog:
None

server-admin is liked by many
Send a message via Yahoo to server-admin
apache should be able to open a index.htm file without changes made by you. What kind of site are you trying to host ?
server-admin is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 03:35 PM   #7 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Quote:
<VirtualHost *>
DocumentRoot <put the location the files for this domain are> (ie /home/username/www/)
ServerAdmin <e-mail address of server admin>
ServerName <domain name for the domain> (ie www.mydomain.com)
ServerAlias <domainname.com>
ServerSignature on
TransferLog <specify a location for the transfer and log to be including file name>
DirectoryIndex index.html index.php index.htm index.shtml (inclue any other files you might use for your directory index like home.htm)
</VirtualHost>

Ok since you had problems with the link I gave you can use the above example. Open up your httpd.conf file and find the location in the file that lists your virtualhost entries. Use the above template for your virtualhost entry. Insert your information where it needs to be in the above exmaple. Do this once for each host you want to host on your site.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-10-2003, 03:40 PM   #8 (permalink)
Inactive
 
dave conz's Avatar
 
Join Date: 10-13-03
Location: New Zealand
Posts: 534
iTrader: 0 / 0%
Latest Blog:
None

dave conz is a jewel in the roughdave conz is a jewel in the roughdave conz is a jewel in the roughdave conz is a jewel in the roughdave conz is a jewel in the roughdave conz is a jewel in the rough
I don't want to be a negativist but if you don't understand these things you should be very wary about opening up your server to the big bad world. Frankly this is entry-level stuff for a server administrator. If you haven't got these things down pat then there's a very good chance you are leaving yourself wide open for all sorts of problems. I strongly recommend that you either invest a huge amount of time learning how servers work or get a professional to help.

I realise you're doing the right thing by asking for help. Just don't run before you can walk. When we decided to start running our own servers we spent two years learning (with a private server) before we launched our first public server. Three years after that we're still learning.

Having your own server is a big responsibility, not just to your own users but to the whole internet community (e.g. making sure you can't be used for open relay etc). You *must* get it right. When you do, it rocks and it's all good. Best of luck!
dave conz is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring SMTP on Win 2K3 Ad Server R2 FGTH Web Hosting Forum 9 04-29-2008 05:25 AM
Domain names. hotnfunky Domain Name Forum 1 08-12-2006 12:10 PM
SEO & Domain Names G10 SEO Forum 6 03-02-2005 07:05 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:19 PM.
© Copyright 2008 V7 Inc