/    Sign up×
Community /Pin to ProfileBookmark

Domain name, external dns servers and web server with directory names. Problem?

Ok, I try to explain what my problem is. I hope someone can find out what I’m trying to say.

  • 1. I have www-server with only ip name: 123.123.123.123

  • 2. The pages I need domain for are in a directory, like 123.123.123.123/user/

  • 3. I have forums etc under my user name, 123.123.123.123/user/forum/

  • 4. I have a domain name (referrin as [url]www.domain.com[/url])

  • 5. I have external dns-servers
  • Is it somehow possible to use my domain name with DNS or such, so it would point [url]www.domain.com[/url] to 123.123.123.123/user – currently I am able to point only direct ip and I would have to use the web page with [url]www.domain.com/user[/url] … Also forum would be [url]www.domain.com/user/forum[/url]

    Instead I would like it to point [url]www.domain.com[/url] to 123.123.123.123/user so it would show up to the browser just as [url]www.domain.com[/url]. The forums would be located [url]www.domain.com/forum[/url] OR most preferably forum.domain.com (I can register as many subdomains as I like).

    Is this possible and how can it be done? Not with A-name records, I presume? Framed URL redirection would be easiest way, but because of cookies and IE not allowing cookies from third party sites this is not an option. Also, I would like to see the rest of url’s too (example: forum.domain.com/post.php?what.ever.here.is)

    to post a comment
    Web Hosting

    2 Comments(s)

    Copy linkTweet thisAlerts:
    @bathurst_guyMar 06.2006 — You would have to modify the server configuration to make the root /user/ rather than what it currently is

    You could set up a subdomain to be user.domain.com/forum or even forum.domain.com?
    Copy linkTweet thisAlerts:
    @stounediauthorMar 06.2006 — Yes, thanks.

    I was able to figure it out.

    What I had to do was I put c name aliases to the dns servers (forum.domain.com, www.domain.com) and domain.com pointed to the ip.

    Then I configuren my apache with virtual hosts pointing to the correct directories on the server.

    Seems to work fine now. It was my first time I ever configured a domain for my web server, so I can say I learned a lot.
    ×

    Success!

    Help @stounedi spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...