Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
Apache shows the first site in alphabetic order that exists for a specific IP address if no site matches. So if you want to create a default site, you just have to ensure that it is the first one in alphabetic order.
Create a new site in ispconfig and use as domain name e.g.:
00000-defaultsite.tld
The domain name does not have to exist, it just have to be the first one to become the default site.
Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
Then you most likely did not select the correct IP address for the site or you did not wait until changes were written to disk. The steps I described abive work for all Linux distributions and setups that have a apache server installed.
The redirect is done for the domain of the website. As you dont use a real domain for the site, the redirect can not work. You can e.g. add a .htaccess file with a wildcard redirect in the web directory of the site.
From what I gather if I set "No Flags" it should work... It didn't...
So I just made a quick HTML page.
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd"><head></head><frameset rows="100%,*" border="0"><frame name="__main" src="http://www.mywebsite.com/"
noresize frameborder="0"><noframes><h2>Your Web browser does not support frames</h2><p>
Please click the link to visit
<a href="http://www.mywebsite.com/"> My Website </a>
directly.
</p></noframes></frameset></html>
It's late I'm tired... It works...
Posted the page in case anybody else finds it useful.
Recent comments
1 hour 57 min ago
2 hours 57 min ago
6 hours 44 min ago
7 hours 58 min ago
11 hours 34 min ago
18 hours 49 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 20 hours ago
1 day 22 hours ago