Modifying the default index.htm for new accounts.

Andrax

Verified User
Joined
Oct 6, 2003
Messages
36
Location
[r o o t]
Well, i searched but couldnt find the thread that talked about this before, so pardon the repost.

I remember reading a while ago about modifying the index.htm file in domains/default (logged in as Admin).

There is a tag call |DOMAIN| which as I understand it is how you get it to autoinsert the name of the domain you created for the new user.

This used to work, and now has stopped and I am not sure why. Now isntead of displaying domain.com in the welcome page it says Welcome to the home of |DOMAIN|

the html in the index.htm file in default/domains is as follows....

<html>
<head>
<title>
|DOMAIN|
</title>
<style>
* { font-family: verdana; font-size: 10pt; COLOR: gray; }
b { font-weight: bold; }
table { height: 50%; border: 1px solid gray;}
td { text-align: center; padding: 25;}
</style>
</head>
<body>
<center>
<br><br><br><br>
<table>
<tr><td>Welcome to the home of <b>|DOMAIN|</b> <br>Hosted by Andrax Network "Complete Domain Solutions".</td></tr>
<tr><td>To change this page, upload your website into the public_html directory</td></tr>
<tr><td><a href="http://www.andraxnetwork.com"><img src="an_banner.gif" border="0"></a></td></tr>
<tr><td>Andrax Network is proud to offer the Direct Admin Control Panel to all our clients! Click below for a visual guide to mastering the full suite of options this control panel has to offer.</td></tr>
<tr><td><a href="http://www.site-helper.com"><img src="logo.jpg" border="0"></a></td></tr>
<table>
</center>
</body>
</html>


Examples of when it worked here and example of it not working here. Any assistance would be much appreciated.
 
Back
Top