Domain name
Results 1 to 7 of 7

Thread: Domain name

  1. #1

    Domain name

    I'm running my server using apache and Mysql 4. I'm hosting a few of my friends. My domain name is www.theouternet.net and it sends poeple to my IP. Perfect. but if one of my friends buys an domain name. what would he put for his DNS settings.he can't put my IP that would lead him to my site. his folder right now is http://www.theouternet.net/Usr/His_name. but i dont want it so that when he types in his domain name it says http://www.theouternet.net/Usr/His_name in the adrdess bar. i want it to say his domain name. what do i do.

  2. #2
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    Buy new domain name(s) that redirect to http://www.theouternet.net/Usr/His_name.
    Other members will probably help you better.

    Note: This forum is only for questions related to antionline itself, like how to navigate somewhere, how to give antipoints etc. for example.
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  3. #3
    Sorry

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    No big deal, but many new members post computer related questions in this forum because they see the How do I? Or what is?
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  5. #5
    Banned
    Join Date
    Aug 2001
    Location
    Yes
    Posts
    4,424
    *Moved from AntiOnline: How do I?*

  6. #6
    AntiOnline Senior Member souleman's Avatar
    Join Date
    Oct 2001
    Location
    Flint, MI
    Posts
    2,884
    I have never done this (there are a couple people that have though). You set up what are called vhosts. Its done in the apache configuration. Search for that unless someone comes by and gives you better information about it.
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  7. #7
    Senior Member
    Join Date
    Oct 2001
    Posts
    786
    I'll try to help out with what I know about this subject... Yes, it would be Virtural Hosts that you want to play with, and you would want Name-Based Virtural Hosting since the Domain name would be different but the computer would have the Same IP Address. The reason this is possible I think is because HTTP Protocol 1.1 or something says the browser must provide the web server with the host name it is connecting to, it shouldn't just connect to the IP. If for some reason something goes wrong, the person would visit your website instead of your friends, but in most cases it should work right. Link: http://httpd.apache.org/docs-2.0/vhosts/name-based.html


    I haven't played with my Apache configuration in a while, so read the link first. My interpertation are the lines below. Note that for them to take effect, you must restart the Apache server. Note that # is a comment:

    NameVirtualHost *

    # Default Virtural Host - Your website
    # Make sure to copy the settings from the top of the file into here as needed
    <VirtualHost *>
    ServerName www.theouternet.net
    ServerAlias domain.tld *.theouternet.net
    DocumentRoot /www/Usr/Mine/
    </VirtualHost>

    # Your friend's domain / Virtural Host
    <VirtualHost *>
    ServerName www.myfriendsdomain.com
    DocumentRoot /www/Usr/His_Name/
    </VirtualHost>


    Well good luck. And hope it works. Also, your hosting package seems nice. Good luck there. And how much traffic do you push on average? My server has been up and down in recent months, but last month I had a little over 300MB of traffic. Back in June or July I was pushing well over a 2GB a month just because I could - I had a 60MB default.ida file made just to see what would happen there... Good luck and hope it works...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •