creating index.html and a simple page!

archimond

New member
Joined
May 9, 2013
Messages
2
hello guys
i think my question is so simple but i have to ask
i want to create a simple page and copy an affiliate link into it
so when you type mydomain.com you just see that affiliate banner
you can see the screen shot from my directadmin page attached
i created a public_html and created a file named index_html and copied the link into it but i guess it was not right
so please guys could you please tell me how can i create a simple html page to copy/paste the affiliate codes into
thanks
 

Attachments

  • ask.jpg
    ask.jpg
    167.5 KB · Views: 110
And in an index.html you can do it for example like this:
Code:
<a href="http://www.domain.com" target="_blank">Click here for our affiliate<img src="affiliate.jpg" /></a>

Or have a generator (click) make it for you.;)
 
because the file has to be named index.html not index_html

actually i created public_html folder with an index.html in it containing the affiliate code
but when i click on domain i see this message :Apache is functioning normally
 
Then your dns of your domain is not matching the ip address you have setup in directadmin.
 
In addition to Chatwirzrd's comment, I'm just wondering the following:
ctually i created public_html folder
You created that yourself? If that is the case it could also be there is no virtual host made, which can also be the reason that you only get that "apache is functioning normally" error. You must create the domain from within Directadmin, the public_html and DNS should be created automatically then, as well als the virtual host files.
 
Back
Top