Forum Moderators: phranque

Message Too Old, No Replies

configuring ip addresses with domains

Web server

         

eponcedeleon

5:58 pm on Jul 3, 2008 (gmt 0)

10+ Year Member



I just purchased my domain through plesk and got 2 default nameservers with 2 ip addresses
ns1.myplesk.com 64.131.**.32
ns1.myplesk.com 64.131.**.33

Now i need to configure my domain (example.com) so that when i type any of the combinations below it sends me to the specific IP address (folder in apache server)

www.example.com = 69.64.**.71:8080
www.example.com/VRPBrew = 69.64.**.71:8080/VRPBrew

What file do i need to configure to go and do that. My DNS settings are this ones

69.64.58.71 / 24PTR example.com.
example.com. NS ns.example.com.
example.com. A 69.64.**.71
example.com. MX (10) mail.example.com.
ftp.example.com. CNAME example.com.
mail.example.com.A 69.64.**.71
ns.example.com. A 69.64.**.71
webmail.example.com.A 69.64.**.71
www.example.com. CNAME example.com.

Thank you,

[edited by: jdMorgan at 7:20 pm (utc) on July 3, 2008]
[edit reason] Removed specifics per TOS. [/edit]

jdMorgan

7:24 pm on Jul 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Usually, this would be httpd.conf that you'd need to configure. Not sure how Plesk does things though, so it might be conf.d, or even a file included in httpd.conf or conf.d. Best source of info on your particular setup would be your host's help pages for the "account type" that you have with them.

The Virtual Hosts tutorial in the Apache documentation will doubtless come in handy -- This is likely to be a one- or two-day job if you've never done it before, and not something you'll do in ten minutes from a few answers in a forum.

Jim