我拥有两个域。domain.com是我的主要网站,而anotherdomain.com只是一个虚 URL。当用户输入anotherdomain.com时,如何将用户转发到domain.com ,同时将anotherdomain.com保留在 URL 栏中?我控制了这两个域,我不想使用 iframe。这可能吗?
两个域都在同一台服务器上。继续这个例子,domain.com的根是 /home/domain/,anotherdomain.com的根是 /home/anothdom/
我拥有两个域。domain.com是我的主要网站,而anotherdomain.com只是一个虚 URL。当用户输入anotherdomain.com时,如何将用户转发到domain.com ,同时将anotherdomain.com保留在 URL 栏中?我控制了这两个域,我不想使用 iframe。这可能吗?
两个域都在同一台服务器上。继续这个例子,domain.com的根是 /home/domain/,anotherdomain.com的根是 /home/anothdom/