Mr. Ghani laid a wreath at the Azadi Memorial minaret on Independence Day.
Later he appeared at a ceremony in Darul Aman Palace, which has been renovated.
He said the main celebration of the centenary of Independence Day was postponed to honor the victims of the deadly attack but added that “we will take the revenge of our people”.
“We will eliminate Daesh hideouts all around the country. The fight against Deash will be intensified,” the president said.
At least 63 people were killed, and more than 180 others were wounded in the attack which happened inside the wedding hall where 1,200 guests were attending.