Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Change default domain that opens when using IP of the server

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
tamburawebelinx
Posts: 2
Joined: Tue Sep 29, 2015 11:40 am

Change default domain that opens when using IP of the server
  • Quote

Post by tamburawebelinx » Tue Sep 29, 2015 11:43 am

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
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Change default domain that opens when using IP of the se
  • Quote

Post by tjebbeke » Tue Sep 29, 2015 1:08 pm

Delete your default.domain and add testdomain.com as first domain.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password