New Site Temp Pages

They have: 8 posts

Joined: Apr 2005

Hi,
I'm running apache and am looking for the code/variable that I could use for a new temp page. I have a designed a regular temp page that apache uses, but I want the domain to have it's name on the temp page after the domain is created in WHM. php isn't a problem for that temp page. This has to be simple, cpanel is using that variable.

Would appreciate any help you might have.

Thanks,
Data2050

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

PHP

echo $_ENV['HTTP_HOST'] or echo $_SERVER['HTTP_HOST']

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.