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.

Where is the setting?

Discussion in 'Apache' started by Vraana, Nov 25, 2018.

  1. #1
    Sorry, really stupid question. Some time ago I managed redirect of domain to direcotry to get working. However, noob as I am, now I can't find how and where. Spent googling couple evenings, found several methods, but it should be always in the site config file or htaccess, right?

    So to get it short, I redirect something.domain.com to domain.com/something, both addresses are working but I don't know how and where to adjust it.

    And btw, all subdomains are probably transferred to the same folder...
     
    Last edited: Nov 25, 2018
    Vraana, Nov 25, 2018 IP
  2. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #2
    Did you do a 302 redirect at your hosting company?
     
    Karen May Jones, Nov 25, 2018 IP
  3. Vraana

    Vraana Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    I'm hosting at home. Could I have done it on my server?
     
    Vraana, Nov 26, 2018 IP
  4. Vraana

    Vraana Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    I found that. The trick was default.conf was empty, so all requests were served by the only site. Nasty
     
    Vraana, Nov 26, 2018 IP