Change default domain that opens when using IP of the server
-
- Posts: 2
- Joined: Tue Sep 29, 2015 11:40 am
Change default domain that opens when using IP of the server
Hello,
I don't want anymore my default.domain domain to be opened when I type the server IP. How can I change this?
For example, my server IP is 10.0.0.5 and it opens default.domain page when I open the browser. However, I made a new domain which is for example testdomain.com, and when I type in IP 10.0.0.5, I want to open testdomain.com, and not default.domain.
Regards
I don't want anymore my default.domain domain to be opened when I type the server IP. How can I change this?
For example, my server IP is 10.0.0.5 and it opens default.domain page when I open the browser. However, I made a new domain which is for example testdomain.com, and when I type in IP 10.0.0.5, I want to open testdomain.com, and not default.domain.
Regards
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Change default domain that opens when using IP of the se
Delete your default.domain and add testdomain.com as first domain.