0

I'm using no ip.com and port forwarding through my router to an apache server on a Linux machine.

I have 2 domains with no-ip.com domain A and domain B both to the same public IP. Inside of my HTML folder, my index.html page is for domain A.

What I want to achieve is whenever I navigate to domain A it remains with my original index.html but when I navigate to domain B I would like index2.html or the Apache server to recognize the request is from domain B and direct to index2.html.

Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123
goose goose
  • 86
  • 3
  • 15
  • Possible duplicate of [Apache default VirtualHost](https://stackoverflow.com/questions/5427379/apache-default-virtualhost) – Tersosauros Mar 03 '18 at 02:30

1 Answers1

0

You need to look at configuring Apache httpd VirtualHosts.

Tersosauros
  • 883
  • 1
  • 12
  • 22