1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Multiple Domains...

Discussion in 'Apache' started by digitalpoint, Mar 4, 2004.

  1. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #21
    It will but if for example you have an entry like this

    <VirtualHost 192.168.1.1>
    ServerName [url]www.thisismine.com[/url]
    ServerAlias [url]www.thisisanothermine.com[/url] thisismine.com
    RewriteEngine on
    RewriteCond %{HTTP_HOST}                !^192.168.1.1(:80)?$
    RewriteCond %{HTTP_HOST}                !^www.thisismine.com(:80)?$
    RewriteRule ^/(.*)                      http://www.thisismine.com/$1 [L,R=301]
    </VirtualHost>
    Code (markup):
    and i type in www.thisisanothermine.com the url that will appear would be www.thisismine.com not the www.thisisanothermine.com.

    Hope it Helps
     
    theblight, May 10, 2006 IP
  2. scylla

    scylla Notable Member

    Messages:
    1,025
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    225
    #22
    what if I dont know the IP of the site... I use hostgator shared hosting plan so other sites are on the servers ip I'd guess, can I just ignore that field or must it absolutely be filled in?
     
    scylla, Oct 20, 2009 IP