Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 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: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 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 day 10 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 19 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 16 hours ago